Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 97.59 kB / 16.93 MB, free: 5.805 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.00122/0.00122, allocations: 187.6 kB / 17.86 MB, free: 5.18 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.408/1.408, allocations: 205.1 MB / 223.7 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.208/0.208, allocations: 43.52 MB / 314.6 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.001832/0.001832, allocations: 70.89 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.115, allocations: 57.79 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002766/0.1178, allocations: 1.652 MB / 442.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.119, allocations: 0.7805 MB / 443.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.119, allocations: 4 kB / 443.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1194, allocations: 59.75 kB / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1196, allocations: 55.75 kB / 443.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1199, allocations: 83.75 kB / 443.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.12, allocations: 87.7 kB / 443.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.1201, allocations: 8 kB / 443.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1202, allocations: 39.84 kB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.1202, allocations: 31.8 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1203, allocations: 0 / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1204, allocations: 31.98 kB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.1204, allocations: 31.84 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.1205, allocations: 35.69 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1207, allocations: 111.9 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1207, allocations: 4 kB / 444.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1207, allocations: 0 / 444.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1207, allocations: 8 kB / 444.2 MB, free: 3.863 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004852/0.1212, allocations: 430.6 kB / 444.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1212, allocations: 11.89 kB / 444.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.1213, allocations: 12.84 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1215, allocations: 223.4 kB / 444.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1215, allocations: 384 / 444.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1215, allocations: 8.125 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1216, allocations: 45.67 kB / 444.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1217, allocations: 4 kB / 444.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1217, allocations: 4 kB / 444.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1217, allocations: 4 kB / 444.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.162e-05/0.1217, allocations: 11.98 kB / 444.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.1219, allocations: 189.7 kB / 445.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1221, allocations: 50.56 kB / 445.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.1221, allocations: 32.78 kB / 445.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1222, allocations: 4 kB / 445.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.1224, allocations: 67.3 kB / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1224, allocations: 0 / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002673/0.1227, allocations: 101.5 kB / 445.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.1227, allocations: 51.41 kB / 445.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.1229, allocations: 255.7 kB / 445.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1229, allocations: 33.7 kB / 445.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.123, allocations: 112.1 kB / 445.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.123, allocations: 11.75 kB / 445.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.123, allocations: 25.7 kB / 445.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.1231, allocations: 326.8 kB / 446.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.1231, allocations: 12 kB / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.804e-05/0.1232, allocations: 29.69 kB / 446.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.592e-05/0.1233, allocations: 57.58 kB / 446.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1233, allocations: 0 / 446.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001284/0.1234, allocations: 81.44 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1235, allocations: 8 kB / 446.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1235, allocations: 3.984 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1235, allocations: 0 / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.1236, allocations: 15.92 kB / 446.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1236, allocations: 4.031 kB / 446.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.1236, allocations: 4 kB / 446.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1236, allocations: 8 kB / 446.4 MB, free: 1.426 MB / 318.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 (7): * Single equations (assignments): 7 * 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.48e-05/0.1237, allocations: 137.7 kB / 446.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1237, allocations: 11.81 kB / 446.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.1238, allocations: 20.98 kB / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1238, allocations: 0 / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1238, allocations: 0 / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1238, allocations: 0 / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.1239, allocations: 201.9 kB / 446.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1239, allocations: 12 kB / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.1239, allocations: 0 / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.124, allocations: 0 / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.124, allocations: 4 kB / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.124, allocations: 0 / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.124, allocations: 0 / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1242, allocations: 116.8 kB / 446.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.1242, allocations: 85.02 kB / 447 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1242, allocations: 11.98 kB / 447 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.1243, allocations: 0 / 447 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.1243, allocations: 4 kB / 447 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1243, allocations: 0 / 447 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1244, allocations: 203.3 kB / 447.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1244, allocations: 0 / 447.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.1247, allocations: 20 kB / 447.2 MB, free: 0.5195 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0008799/0.1255, allocations: 415.8 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.1257, allocations: 43.92 kB / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1257, allocations: 0 / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.196e-05/0.1258, allocations: 19.98 kB / 447.7 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1261, allocations: 39.08 kB / 447.7 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.1267, allocations: 288.4 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1271, allocations: 0.7196 MB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.1272, allocations: 15.44 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1272, allocations: 0 / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Templates: time 0.004262/0.1314, allocations: 1.825 MB / 450.6 MB, free: 13.2 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches