Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 101.9 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.001426/0.001426, 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.674/1.674, 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.2232/0.2232, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001619/0.00162, allocations: 71.09 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.116, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003429/0.1195, allocations: 1.909 MB / 442.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1209, allocations: 0.8272 MB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1211, allocations: 8 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.1215, allocations: 47.7 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.1219, allocations: 59.62 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1222, allocations: 99.73 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.1225, allocations: 131.6 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1226, allocations: 33.7 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1227, allocations: 63.7 kB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.98e-05/0.1228, allocations: 47.66 kB / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1229, allocations: 8 kB / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.123, allocations: 43.98 kB / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.1231, allocations: 31.91 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.1232, allocations: 47.69 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.1234, allocations: 143.5 kB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1235, allocations: 4 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1235, allocations: 0 / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1235, allocations: 4 kB / 444 MB, free: 3.367 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006582/0.1241, allocations: 472.4 kB / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1242, allocations: 15.89 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.1243, allocations: 16.75 kB / 444.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.1245, allocations: 224.1 kB / 444.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1245, allocations: 384 / 444.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1245, allocations: 20.12 kB / 444.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1248, allocations: 111.3 kB / 444.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1248, allocations: 0 / 444.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1248, allocations: 0 / 444.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1248, allocations: 4 kB / 444.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.125, allocations: 51.91 kB / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.1254, allocations: 0.5087 MB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.1258, allocations: 98.53 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.1258, allocations: 36.83 kB / 445.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1259, allocations: 4 kB / 445.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.1261, allocations: 79.38 kB / 445.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.1261, allocations: 3.938 kB / 445.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003414/0.1265, allocations: 145.5 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.1265, allocations: 59.28 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1266, allocations: 191.4 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1266, allocations: 25.7 kB / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.1267, allocations: 116 kB / 446.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.1267, allocations: 27.64 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1268, allocations: 25.72 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.1268, allocations: 334.8 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.1269, allocations: 27.98 kB / 446.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-05/0.127, allocations: 60.27 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1272, allocations: 100.2 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1272, allocations: 4 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002304/0.1274, allocations: 145.6 kB / 446.9 MB, free: 240 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1274, allocations: 4 kB / 446.9 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1275, allocations: 3.938 kB / 446.9 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1275, allocations: 8.125 kB / 446.9 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/0.1276, allocations: 27.92 kB / 446.9 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1276, allocations: 4 kB / 446.9 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.1277, allocations: 11.89 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.1277, allocations: 4 kB / 446.9 MB, free: 176 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.938e-05/0.1278, allocations: 129.7 kB / 447.1 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.1278, allocations: 15.81 kB / 447.1 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.814e-05/0.1279, allocations: 21.47 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1279, allocations: 7.938 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1279, allocations: 4 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1279, allocations: 0 / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.1282, allocations: 209.5 kB / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1282, allocations: 0 / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.711e-05/0.1283, allocations: 11.98 kB / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1283, allocations: 0 / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1283, allocations: 8 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1283, allocations: 3.938 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1283, allocations: 0 / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.1287, allocations: 180.8 kB / 447.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.1287, allocations: 89.03 kB / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1288, allocations: 0 / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.1288, allocations: 15.88 kB / 447.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.1289, allocations: 7.984 kB / 447.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1289, allocations: 4 kB / 447.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.129, allocations: 145.2 kB / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.129, allocations: 0 / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.1293, allocations: 27.91 kB / 447.8 MB, free: 15.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009178/0.1302, allocations: 408.4 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1305, allocations: 83.89 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.1305, allocations: 0 / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.439e-05/0.1306, allocations: 40.17 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.1309, allocations: 36.28 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.1315, allocations: 264.1 kB / 448.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1317, allocations: 0.7161 MB / 449.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.314e-05/0.1318, allocations: 21.41 kB / 449.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.1319, allocations: 23.42 kB / 449.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1319, allocations: 0 / 449.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of Templates: time 0.004788/0.1367, allocations: 1.88 MB / 451.3 MB, free: 11.8 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches