Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 113.9 kB / 17.33 MB, free: 6.008 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.001219/0.001219, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.384/1.384, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2089/0.2089, allocations: 44.17 MB / 336.2 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.31 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1092, allocations: 60.83 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003124/0.1123, allocations: 1.936 MB / 470.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1139, allocations: 0.9744 MB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.114, allocations: 7.938 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1143, allocations: 151.7 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.1147, allocations: 127.6 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1151, allocations: 162.2 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.1154, allocations: 231.3 kB / 472.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1155, allocations: 33.64 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1156, allocations: 107.5 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1158, allocations: 127.6 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1158, allocations: 8 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1159, allocations: 67.91 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.116, allocations: 47.84 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.208e-05/0.1161, allocations: 79.41 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1164, allocations: 211.5 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1164, allocations: 4 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1164, allocations: 0 / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1164, allocations: 0 / 473 MB, free: 10.47 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006428/0.117, allocations: 0.5254 MB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1171, allocations: 16.02 kB / 473.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.1172, allocations: 24.59 kB / 473.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1175, allocations: 267.6 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1175, allocations: 8.312 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1175, allocations: 16.12 kB / 473.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.1178, allocations: 110.3 kB / 473.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1178, allocations: 0 / 473.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1178, allocations: 0 / 473.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1178, allocations: 4 kB / 473.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.1179, allocations: 47.95 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.1185, allocations: 468.7 kB / 474.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.1189, allocations: 121.2 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.119, allocations: 45.83 kB / 474.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.119, allocations: 8 kB / 474.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.1193, allocations: 117 kB / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1193, allocations: 0 / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001315/0.1206, allocations: 492.9 kB / 475.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1207, allocations: 77.11 kB / 475.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.121, allocations: 359 kB / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1211, allocations: 29.7 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.1212, allocations: 144.5 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.1212, allocations: 71.09 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.1213, allocations: 41.7 kB / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1214, allocations: 346.8 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1216, allocations: 51.98 kB / 476.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1217, allocations: 103.3 kB / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.122, allocations: 163.3 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.122, allocations: 0 / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003783/0.1224, allocations: 225.5 kB / 476.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1224, allocations: 11.94 kB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1224, allocations: 0 / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1224, allocations: 4 kB / 476.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1226, allocations: 39.92 kB / 476.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1226, allocations: 4 kB / 476.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/0.1227, allocations: 12.05 kB / 476.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1227, allocations: 12 kB / 476.9 MB, free: 6.297 MB / 350.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.0001357/0.1229, allocations: 162.3 kB / 477 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.1229, allocations: 31.56 kB / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.123, allocations: 33.73 kB / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.123, allocations: 7.984 kB / 477.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.123, allocations: 0 / 477.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.123, allocations: 0 / 477.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.1239, allocations: 0.7271 MB / 477.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1239, allocations: 0 / 477.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/0.124, allocations: 24 kB / 477.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.124, allocations: 3.984 kB / 477.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.124, allocations: 16.12 kB / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.124, allocations: 0 / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.124, allocations: 7.938 kB / 477.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.1245, allocations: 413.8 kB / 478.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.1246, allocations: 92.83 kB / 478.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.1246, allocations: 8 kB / 478.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1247, allocations: 11.98 kB / 478.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.1248, allocations: 27.86 kB / 478.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.1248, allocations: 11.98 kB / 478.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002327/0.1251, allocations: 261.9 kB / 478.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1251, allocations: 4 kB / 478.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.1255, allocations: 51.89 kB / 478.7 MB, free: 4.297 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001139/0.1266, allocations: 0.5175 MB / 479.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.127, allocations: 163.8 kB / 479.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.127, allocations: 0 / 479.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1271, allocations: 80.23 kB / 479.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.1277, allocations: 61.05 kB / 479.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007662/0.1285, allocations: 0.5551 MB / 480.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1288, allocations: 0.7558 MB / 480.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.1289, allocations: 45.91 kB / 480.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.129, allocations: 31.38 kB / 480.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.129, allocations: 0 / 480.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Templates: time 0.006126/0.1351, allocations: 3.033 MB / 484 MB, free: 15.22 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches