Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.00135/0.00135, allocations: 187.2 kB / 19.39 MB, free: 3.711 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.425/1.425, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.91 kB / 471.3 MB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 60.83 MB / 0.5197 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003744/0.1327, allocations: 1.884 MB / 0.5215 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1345, allocations: 0.9898 MB / 0.5225 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1347, allocations: 7.938 kB / 0.5225 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.1353, allocations: 255.3 kB / 0.5227 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.1357, allocations: 183.4 kB / 0.5229 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.1362, allocations: 179.1 kB / 0.5231 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.1366, allocations: 251.4 kB / 0.5233 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1367, allocations: 29.67 kB / 0.5234 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.137, allocations: 135.5 kB / 0.5235 GB, free: 480 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.1372, allocations: 183.5 kB / 0.5237 GB, free: 296 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.1372, allocations: 8 kB / 0.5237 GB, free: 288 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1374, allocations: 63.91 kB / 0.5237 GB, free: 224 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1375, allocations: 63.77 kB / 0.5238 GB, free: 160 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1376, allocations: 95.28 kB / 0.5239 GB, free: 64 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.138, allocations: 246.7 kB / 0.5241 GB, free: 15.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.138, allocations: 0 / 0.5241 GB, free: 15.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.138, allocations: 0 / 0.5241 GB, free: 15.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.1381, allocations: 0 / 0.5241 GB, free: 15.82 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008741/0.1389, allocations: 0.5795 MB / 0.5247 GB, free: 15.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.139, allocations: 8.031 kB / 0.5247 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.778e-05/0.1391, allocations: 32.75 kB / 0.5247 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.1395, allocations: 296.2 kB / 0.525 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1396, allocations: 8.375 kB / 0.525 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.1396, allocations: 8.125 kB / 0.525 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1399, allocations: 111.3 kB / 0.5251 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1399, allocations: 8 kB / 0.5251 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1399, allocations: 4 kB / 0.5251 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.14, allocations: 0 / 0.5251 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1401, allocations: 47.91 kB / 0.5252 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.1408, allocations: 476.7 kB / 0.5256 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.1412, allocations: 125.2 kB / 0.5258 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1414, allocations: 45.81 kB / 0.5258 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.1414, allocations: 4.141 kB / 0.5258 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.1417, allocations: 125 kB / 0.5259 GB, free: 13.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.1417, allocations: 0 / 0.5259 GB, free: 13.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.001457/0.1431, allocations: 0.5123 MB / 0.5264 GB, free: 13.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.1432, allocations: 81.11 kB / 0.5265 GB, free: 13.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.1438, allocations: 477.7 kB / 0.527 GB, free: 12.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1438, allocations: 37.7 kB / 0.527 GB, free: 12.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1439, allocations: 156.5 kB / 0.5271 GB, free: 12.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.144, allocations: 71.42 kB / 0.5272 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.1441, allocations: 41.7 kB / 0.5272 GB, free: 12.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1443, allocations: 350.8 kB / 0.5276 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1444, allocations: 51.98 kB / 0.5276 GB, free: 11.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1446, allocations: 107.2 kB / 0.5277 GB, free: 11.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.1449, allocations: 159.5 kB / 0.5279 GB, free: 11.67 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1449, allocations: 0 / 0.5279 GB, free: 11.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004205/0.1453, allocations: 233.3 kB / 0.5281 GB, free: 11.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1453, allocations: 11.94 kB / 0.5281 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1453, allocations: 4.062 kB / 0.5281 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1454, allocations: 4 kB / 0.5281 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1455, allocations: 39.92 kB / 0.5282 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.1455, allocations: 4 kB / 0.5282 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.1456, allocations: 11.98 kB / 0.5282 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1456, allocations: 4 kB / 0.5282 GB, free: 11.36 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001622/0.1458, allocations: 177.7 kB / 0.5284 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.1459, allocations: 39.7 kB / 0.5284 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.254e-05/0.146, allocations: 51.73 kB / 0.5284 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.146, allocations: 0 / 0.5284 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.146, allocations: 0 / 0.5284 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.146, allocations: 100.9 kB / 0.5285 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.1461, allocations: 8 kB / 0.5285 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.1462, allocations: 7.984 kB / 0.5286 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.1462, allocations: 11.98 kB / 0.5286 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000443/0.1467, allocations: 391.9 kB / 0.5289 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00052/0.1472, allocations: 484.5 kB / 0.5294 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001384/0.1474, allocations: 80.28 kB / 0.5295 GB, free: 9.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003258/0.1477, allocations: 359.1 kB / 0.5298 GB, free: 9.633 MB / 462.1 MB Notification: Performance of Backend: time 2.4e-07/0.1477, allocations: 0 / 0.5298 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.1495, allocations: 0.6389 MB / 0.5304 GB, free: 9.203 MB / 462.1 MB Notification: Performance of SimCode: time 0.001164/0.1507, allocations: 0.9664 MB / 0.5314 GB, free: 8.188 MB / 462.1 MB Notification: Performance of Templates: time 0.008037/0.1588, allocations: 3.277 MB / 0.5346 GB, free: 4.938 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches