Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 103.6 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001413, allocations: 190.5 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2588/0.2588, allocations: 43.53 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 65.59 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1341, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003735/0.1379, allocations: 2.029 MB / 442.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1397, allocations: 1.077 MB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.14, allocations: 4 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.1404, allocations: 51.52 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1408, allocations: 155.3 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.142, allocations: 0.5597 MB / 444.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.1425, allocations: 295.2 kB / 444.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1427, allocations: 76.69 kB / 444.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.143, allocations: 127.5 kB / 444.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.1432, allocations: 199.3 kB / 445.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.1433, allocations: 12 kB / 445.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1434, allocations: 44 kB / 445.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1436, allocations: 159.4 kB / 445.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1437, allocations: 162.7 kB / 445.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.1442, allocations: 374.5 kB / 445.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1442, allocations: 0 / 445.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1442, allocations: 0 / 445.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1442, allocations: 0 / 445.8 MB, free: 1.594 MB / 318.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.0009675/0.1452, allocations: 0.7697 MB / 446.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1452, allocations: 11.89 kB / 446.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1453, allocations: 60.12 kB / 446.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.1458, allocations: 459.7 kB / 447.1 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1458, allocations: 8.375 kB / 447.1 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.1459, allocations: 20.03 kB / 447.1 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1463, allocations: 161.3 kB / 447.3 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.1463, allocations: 0 / 447.3 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1463, allocations: 4 kB / 447.3 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1463, allocations: 0 / 447.3 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.1467, allocations: 123.9 kB / 447.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.148, allocations: 0.6956 MB / 448.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.1484, allocations: 133.2 kB / 448.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.1486, allocations: 73.8 kB / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.1487, allocations: 3.906 kB / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.1487, allocations: 34.56 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.1487, allocations: 0 / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002391/0.1511, allocations: 0.7284 MB / 449.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.1512, allocations: 85.11 kB / 449.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.1524, allocations: 0.8543 MB / 450 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1524, allocations: 33.7 kB / 450 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.1527, allocations: 244.4 kB / 450.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-05/0.1528, allocations: 70.98 kB / 450.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1529, allocations: 41.7 kB / 450.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.1531, allocations: 374.7 kB / 450.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.1534, allocations: 111.9 kB / 450.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.1538, allocations: 130.8 kB / 451 MB, free: 12.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.1543, allocations: 253.6 kB / 451.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1544, allocations: 0 / 451.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007601/0.1551, allocations: 340.8 kB / 451.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1552, allocations: 7.984 kB / 451.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1552, allocations: 0 / 451.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.1552, allocations: 0 / 451.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.1555, allocations: 51.95 kB / 451.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1556, allocations: 0.75 kB / 451.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.1558, allocations: 23.97 kB / 451.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.1558, allocations: 12 kB / 451.7 MB, free: 11.46 MB / 334.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.0003044/0.1561, allocations: 229.5 kB / 451.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.1562, allocations: 59.25 kB / 451.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009478/0.1572, allocations: 394.1 kB / 452.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.1572, allocations: 3.984 kB / 452.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1572, allocations: 0 / 452.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1572, allocations: 4 kB / 452.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.1588, allocations: 0.9308 MB / 453.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1589, allocations: 0 / 453.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.1591, allocations: 51.89 kB / 453.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1591, allocations: 4 kB / 453.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1591, allocations: 4 kB / 453.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.825e-05/0.1592, allocations: 15.92 kB / 453.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1592, allocations: 0 / 453.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.1601, allocations: 0.5087 MB / 453.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1603, allocations: 144.4 kB / 454 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.1603, allocations: 4 kB / 454 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.1606, allocations: 19.92 kB / 454 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.1607, allocations: 19.97 kB / 454 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1607, allocations: 11.98 kB / 454 MB, free: 8.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006885/0.1614, allocations: 0.6237 MB / 454.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1614, allocations: 0 / 454.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000386/0.1618, allocations: 64 kB / 454.7 MB, free: 8.285 MB / 334.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.001048/0.1628, allocations: 406.1 kB / 455.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007318/0.1636, allocations: 271.7 kB / 455.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1636, allocations: 4 kB / 455.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.1639, allocations: 143.8 kB / 455.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007156/0.1647, allocations: 86.14 kB / 455.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1662, allocations: 0.9749 MB / 456.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.1667, allocations: 0.8846 MB / 457.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.167, allocations: 98.89 kB / 457.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1671, allocations: 39.36 kB / 457.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.246e-06/0.1671, allocations: 3.938 kB / 457.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of Templates: time 0.01073/0.1779, allocations: 4.378 MB / 462 MB, free: 1.027 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches