Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001923/0.001923, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002124/0.002124, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2338/0.2338, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 87.86 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1379, allocations: 65.99 MB / 0.5568 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003859/0.1418, allocations: 2.107 MB / 0.5589 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1442, allocations: 1.297 MB / 0.5601 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1444, allocations: 4 kB / 0.5602 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1446, allocations: 55.45 kB / 0.5602 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005371/0.1452, allocations: 219.1 kB / 0.5604 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1462, allocations: 461.5 kB / 0.5609 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.1467, allocations: 319 kB / 0.5612 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.1469, allocations: 52.7 kB / 0.5612 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.1472, allocations: 147.4 kB / 0.5613 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.1475, allocations: 211.2 kB / 0.5616 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1475, allocations: 12 kB / 0.5616 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1477, allocations: 75.89 kB / 0.5616 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.1479, allocations: 147.5 kB / 0.5618 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.1481, allocations: 174.6 kB / 0.5619 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000525/0.1486, allocations: 417.9 kB / 0.5623 GB, free: 220 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1486, allocations: 0 / 0.5623 GB, free: 220 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1486, allocations: 0 / 0.5623 GB, free: 220 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1486, allocations: 0 / 0.5623 GB, free: 220 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001187/0.1498, allocations: 0.8201 MB / 0.5631 GB, free: 15.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1499, allocations: 8.031 kB / 0.5631 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.1503, allocations: 96.52 kB / 0.5632 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007208/0.151, allocations: 485 kB / 0.5637 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.151, allocations: 4.375 kB / 0.5637 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.1511, allocations: 8.375 kB / 0.5637 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1514, allocations: 155.5 kB / 0.5639 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.1515, allocations: 3.953 kB / 0.5639 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1515, allocations: 4 kB / 0.5639 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1515, allocations: 4 kB / 0.5639 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.1518, allocations: 103.8 kB / 0.564 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1528, allocations: 0.6723 MB / 0.5646 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1531, allocations: 117.2 kB / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1533, allocations: 53.81 kB / 0.5648 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.1533, allocations: 15.92 kB / 0.5648 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.1533, allocations: 38.56 kB / 0.5648 GB, free: 13.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1533, allocations: 0 / 0.5648 GB, free: 13.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.002149/0.1555, allocations: 0.6944 MB / 0.5655 GB, free: 12.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.1555, allocations: 81.05 kB / 0.5656 GB, free: 12.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.1566, allocations: 0.8946 MB / 0.5665 GB, free: 11.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.1567, allocations: 37.7 kB / 0.5665 GB, free: 11.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.1569, allocations: 268.3 kB / 0.5668 GB, free: 11.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.157, allocations: 67.42 kB / 0.5668 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.1571, allocations: 37.69 kB / 0.5669 GB, free: 11.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1573, allocations: 378.8 kB / 0.5672 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.1575, allocations: 83.94 kB / 0.5673 GB, free: 10.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.1578, allocations: 117.6 kB / 0.5674 GB, free: 10.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.1584, allocations: 209.7 kB / 0.5676 GB, free: 10.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1584, allocations: 0 / 0.5676 GB, free: 10.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007359/0.1591, allocations: 305.3 kB / 0.5679 GB, free: 10.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1591, allocations: 4 kB / 0.5679 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1591, allocations: 7.875 kB / 0.5679 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1592, allocations: 8 kB / 0.5679 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.1595, allocations: 47.95 kB / 0.568 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1595, allocations: 4 kB / 0.568 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.1597, allocations: 23.91 kB / 0.568 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1597, allocations: 8 kB / 0.568 GB, free: 10.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.1599, allocations: 217.7 kB / 0.5682 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.16, allocations: 63.58 kB / 0.5683 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008891/0.1609, allocations: 351.2 kB / 0.5686 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1609, allocations: 4 kB / 0.5686 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1609, allocations: 0 / 0.5686 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.161, allocations: 8 kB / 0.5686 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.1625, allocations: 0.8761 MB / 0.5695 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1625, allocations: 3.984 kB / 0.5695 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.1627, allocations: 55.95 kB / 0.5695 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1628, allocations: 0 / 0.5695 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.1628, allocations: 11.94 kB / 0.5695 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1628, allocations: 0 / 0.5695 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1628, allocations: 0 / 0.5695 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.1636, allocations: 484.3 kB / 0.57 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.1638, allocations: 140.7 kB / 0.5701 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.1638, allocations: 11.98 kB / 0.5702 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.164, allocations: 15.98 kB / 0.5702 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.1641, allocations: 23.91 kB / 0.5702 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1641, allocations: 8.375 kB / 0.5702 GB, free: 7.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007982/0.1649, allocations: 0.6591 MB / 0.5708 GB, free: 7.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1649, allocations: 0 / 0.5708 GB, free: 7.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000377/0.1653, allocations: 63.88 kB / 0.5709 GB, free: 7.055 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/0.1669, allocations: 413.9 kB / 0.5713 GB, free: 6.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007247/0.1676, allocations: 219.7 kB / 0.5715 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1676, allocations: 0 / 0.5715 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.1679, allocations: 107.9 kB / 0.5716 GB, free: 6.473 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.1685, allocations: 82.8 kB / 0.5717 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.1701, allocations: 0.9829 MB / 0.5727 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.1706, allocations: 0.8643 MB / 0.5735 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.1708, allocations: 51.41 kB / 0.5735 GB, free: 4.43 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1708, allocations: 0 / 0.5735 GB, free: 4.43 MB / 430.1 MB Notification: Performance of Templates: time 0.01016/0.181, allocations: 6.064 MB / 0.5795 GB, free: 14.38 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.041618404211476]