Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008148/0.0008149, allocations: 97.84 kB / 18.01 MB, free: 5.734 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.0009191/0.0009191, allocations: 175.9 kB / 18.91 MB, free: 4.871 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.363/1.363, allocations: 223.3 MB / 242.9 MB, free: 212 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.2186/0.2186, allocations: 44.25 MB / 338.3 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005146, allocations: 13.84 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 61.91 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001953/0.1205, allocations: 1.417 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1218, allocations: 0.846 MB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.1219, allocations: 0 / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.1222, allocations: 31.89 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1224, allocations: 47.83 kB / 475.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.1228, allocations: 102.6 kB / 475.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.123, allocations: 95.69 kB / 475.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.1231, allocations: 16.2 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.1232, allocations: 35.8 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.1233, allocations: 27.84 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1233, allocations: 0 / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1234, allocations: 43.92 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1235, allocations: 19.92 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.1235, allocations: 69.42 kB / 475.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1237, allocations: 80.11 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1237, allocations: 0 / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1237, allocations: 0 / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1237, allocations: 0 / 475.7 MB, free: 10.51 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004762/0.1242, allocations: 391.2 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1242, allocations: 8.031 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1243, allocations: 8.844 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1245, allocations: 219.9 kB / 476.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1245, allocations: 8.312 kB / 476.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1246, allocations: 8.125 kB / 476.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1247, allocations: 53.67 kB / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1247, allocations: 0 / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1247, allocations: 0 / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1247, allocations: 3.938 kB / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.716e-05/0.1248, allocations: 19.98 kB / 476.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.1252, allocations: 284.9 kB / 476.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1254, allocations: 62.61 kB / 476.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.1254, allocations: 16.86 kB / 476.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1255, allocations: 7.984 kB / 476.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.1256, allocations: 67.39 kB / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1257, allocations: 4 kB / 476.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005301/0.1262, allocations: 169.2 kB / 477 MB, free: 9.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1262, allocations: 55.39 kB / 477.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1264, allocations: 186.2 kB / 477.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1265, allocations: 29.7 kB / 477.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.1265, allocations: 108 kB / 477.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.1266, allocations: 23.66 kB / 477.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1266, allocations: 17.7 kB / 477.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1267, allocations: 334.8 kB / 477.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.1268, allocations: 12 kB / 477.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.1268, allocations: 37.7 kB / 477.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.127, allocations: 61.77 kB / 477.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.127, allocations: 0 / 477.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001943/0.1272, allocations: 109.4 kB / 478 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1272, allocations: 4 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1272, allocations: 0 / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1272, allocations: 4 kB / 478 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.1273, allocations: 12 kB / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1273, allocations: 3.938 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.1274, allocations: 15.92 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1274, allocations: 0 / 478 MB, free: 7.973 MB / 350.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.644e-05/0.1275, allocations: 121.8 kB / 478.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1275, allocations: 15.94 kB / 478.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.1276, allocations: 16.7 kB / 478.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1276, allocations: 3.938 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1276, allocations: 4 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1276, allocations: 3.938 kB / 478.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.1281, allocations: 383.3 kB / 478.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1281, allocations: 0 / 478.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.1281, allocations: 8.188 kB / 478.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1281, allocations: 16 kB / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1281, allocations: 11.88 kB / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1282, allocations: 0 / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1282, allocations: 0 / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1284, allocations: 204.1 kB / 478.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.1285, allocations: 89.02 kB / 478.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1285, allocations: 15.92 kB / 478.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1286, allocations: 0 / 478.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1286, allocations: 11.98 kB / 478.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1286, allocations: 4 kB / 478.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1288, allocations: 139.2 kB / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1288, allocations: 0 / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.129, allocations: 27.98 kB / 479.1 MB, free: 6.809 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.1301, allocations: 472.1 kB / 479.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1303, allocations: 63.91 kB / 479.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1303, allocations: 0 / 479.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.1304, allocations: 31.92 kB / 479.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1307, allocations: 32.09 kB / 479.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1312, allocations: 260.1 kB / 479.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1315, allocations: 0.7121 MB / 480.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.1316, allocations: 15.44 kB / 480.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1316, allocations: 4 kB / 480.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of Templates: time 0.004002/0.1356, allocations: 1.879 MB / 482.5 MB, free: 3.477 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches