Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.00128/0.00128, allocations: 195 kB / 17.98 MB, free: 5.027 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.451/1.451, allocations: 205.1 MB / 223.8 MB, free: 12.26 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 / 314.7 MB, free: 492 kB / 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.001494/0.001494, allocations: 69.84 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002593/0.1207, allocations: 1.649 MB / 443.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1217, allocations: 0.7828 MB / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.1218, allocations: 4 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.1221, allocations: 55.8 kB / 444.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1224, allocations: 75.61 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1226, allocations: 79.77 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1228, allocations: 95.69 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.1228, allocations: 7.984 kB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.1229, allocations: 51.77 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.123, allocations: 43.84 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.123, allocations: 4 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.1231, allocations: 39.97 kB / 444.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.1231, allocations: 11.92 kB / 444.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.1232, allocations: 31.75 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.1233, allocations: 99.64 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1234, allocations: 0 / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1234, allocations: 0 / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.1234, allocations: 0 / 445 MB, free: 3.117 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.0004527/0.1238, allocations: 410.9 kB / 445.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1239, allocations: 11.89 kB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.1239, allocations: 8.844 kB / 445.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1241, allocations: 212.9 kB / 445.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1242, allocations: 384 / 445.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1242, allocations: 8.125 kB / 445.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1243, allocations: 49.61 kB / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1243, allocations: 0 / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.1243, allocations: 0 / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1244, allocations: 0 / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.1244, allocations: 23.98 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.1246, allocations: 177.7 kB / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1247, allocations: 50.62 kB / 445.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.1248, allocations: 24.78 kB / 446 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1248, allocations: 3.938 kB / 446 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.1249, allocations: 67.38 kB / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1249, allocations: 0 / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002499/0.1252, allocations: 97.77 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.1252, allocations: 51.41 kB / 446.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1254, allocations: 194 kB / 446.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.1254, allocations: 33.64 kB / 446.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.1254, allocations: 100.1 kB / 446.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1254, allocations: 11.91 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.1255, allocations: 21.72 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.1255, allocations: 318.8 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.1256, allocations: 15.98 kB / 446.9 MB, free: 1.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.1256, allocations: 25.72 kB / 446.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.49e-05/0.1257, allocations: 45.7 kB / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1257, allocations: 3.938 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000122/0.1259, allocations: 89.47 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1259, allocations: 5.25 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1259, allocations: 3.984 kB / 447 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1259, allocations: 0 / 447 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.126, allocations: 12 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.126, allocations: 0 / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.1261, allocations: 11.84 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.1261, allocations: 0 / 447 MB, free: 0.8359 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 8.009e-05/0.1262, allocations: 137.7 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.1262, allocations: 11.84 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.1262, allocations: 16.3 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1262, allocations: 7.984 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1262, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1262, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.253e-05/0.1263, allocations: 185.6 kB / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1263, allocations: 0 / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.1264, allocations: 0 / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1264, allocations: 8 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1264, allocations: 0 / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1264, allocations: 0 / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1264, allocations: 0 / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.1265, allocations: 117 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.1266, allocations: 92.91 kB / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1266, allocations: 0 / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.339e-05/0.1266, allocations: 4 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.1267, allocations: 4 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1267, allocations: 8 kB / 447.6 MB, free: 164 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.1268, allocations: 139.2 kB / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1268, allocations: 0 / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.127, allocations: 12 kB / 447.8 MB, free: 12 kB / 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.001028/0.128, allocations: 430.5 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1282, allocations: 43.91 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1282, allocations: 4.062 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/0.1283, allocations: 16 kB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1286, allocations: 33.11 kB / 448.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.129, allocations: 198.1 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1293, allocations: 0.6963 MB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.1294, allocations: 16.42 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.1295, allocations: 15.42 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1295, allocations: 4 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of Templates: time 0.00422/0.1337, allocations: 1.463 MB / 450.7 MB, free: 13.15 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches