Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.001197, allocations: 99.31 kB / 16.99 MB, free: 6.402 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.001286/0.001286, allocations: 178.3 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 61.93 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002276/0.129, allocations: 1.306 MB / 472.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007663/0.1298, allocations: 379.5 kB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.13, allocations: 8 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1302, allocations: 27.91 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1304, allocations: 31.89 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.1307, allocations: 98.75 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1309, allocations: 51.89 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.131, allocations: 27.91 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.562e-05/0.1311, allocations: 23.92 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.1312, allocations: 23.84 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1312, allocations: 4 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.1313, allocations: 35.92 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.1314, allocations: 7.938 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.1314, allocations: 37.64 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.1316, allocations: 76.14 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1317, allocations: 4 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1317, allocations: 4 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1317, allocations: 0 / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005216/0.1322, allocations: 387 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1323, allocations: 8.031 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.1323, allocations: 11.81 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1325, allocations: 194.9 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1326, allocations: 4 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1326, allocations: 7.906 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1328, allocations: 85.61 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1328, allocations: 4 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1328, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1328, allocations: 4 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.133, allocations: 43.97 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.1334, allocations: 336.6 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1336, allocations: 70.55 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1336, allocations: 7.938 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1337, allocations: 34.56 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1337, allocations: 4 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001087/0.1348, allocations: 337.2 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1348, allocations: 55.41 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.135, allocations: 156.2 kB / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.135, allocations: 29.7 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.1351, allocations: 108 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.1352, allocations: 43.36 kB / 475.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.1352, allocations: 7.938 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1353, allocations: 318.8 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1354, allocations: 47.97 kB / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1355, allocations: 59.28 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1356, allocations: 51.98 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1356, allocations: 4 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002555/0.1359, allocations: 149.5 kB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1359, allocations: 11.98 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.1359, allocations: 4 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.136, allocations: 3.938 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1361, allocations: 23.98 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1361, allocations: 4 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.1362, allocations: 11.95 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1362, allocations: 4 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.1363, allocations: 134.3 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.1363, allocations: 7.906 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.1367, allocations: 187 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1367, allocations: 4 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1367, allocations: 4 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1367, allocations: 0 / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.1374, allocations: 499.1 kB / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1374, allocations: 8.031 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.1375, allocations: 27.97 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1375, allocations: 0 / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1375, allocations: 7.953 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1375, allocations: 4 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1375, allocations: 0 / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.1378, allocations: 273.8 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.1379, allocations: 92.95 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1379, allocations: 0 / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.138, allocations: 12 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.1381, allocations: 11.98 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1381, allocations: 4 kB / 477.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.042e-05/0.1381, allocations: 121.3 kB / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1382, allocations: 0 / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1384, allocations: 28 kB / 477.6 MB, free: 7.316 MB / 350.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009621/0.1394, allocations: 457.6 kB / 478 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1397, allocations: 119.9 kB / 478.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1397, allocations: 0 / 478.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1398, allocations: 71.89 kB / 478.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1401, allocations: 12 kB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.1406, allocations: 290.4 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1409, allocations: 0.7159 MB / 479.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.082e-05/0.141, allocations: 24.53 kB / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.1411, allocations: 27.36 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1411, allocations: 4 kB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of Templates: time 0.004146/0.1452, allocations: 1.418 MB / 480.7 MB, free: 4.328 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches