Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008933, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008973/0.0008974, allocations: 171.1 kB / 16.56 MB, free: 6.379 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.341/1.341, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3151/0.3151, allocations: 43.54 MB / 314.5 MB, free: 8.605 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.0004712/0.0004713, allocations: 14.97 kB / 383.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1107, allocations: 58.86 MB / 442.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001853/0.1126, allocations: 1.384 MB / 444.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1143, allocations: 1.305 MB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.1144, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1147, allocations: 35.83 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.1149, allocations: 51.81 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1151, allocations: 75.72 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1152, allocations: 55.92 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.16e-05/0.1153, allocations: 12.22 kB / 445.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.1154, allocations: 39.78 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1155, allocations: 27.84 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1155, allocations: 4 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.135e-05/0.1156, allocations: 39.92 kB / 445.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.03e-05/0.1156, allocations: 19.97 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.1157, allocations: 33.64 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1158, allocations: 88.09 kB / 445.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.1158, allocations: 0 / 445.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1158, allocations: 0 / 445.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.1158, allocations: 0 / 445.9 MB, free: 9.914 MB / 382.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.0004157/0.1163, allocations: 398.9 kB / 446.3 MB, free: 9.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1163, allocations: 12.03 kB / 446.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1164, allocations: 11.84 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1166, allocations: 206.9 kB / 446.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1166, allocations: 0 / 446.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.1166, allocations: 4 kB / 446.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1168, allocations: 71.38 kB / 446.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1168, allocations: 7.891 kB / 446.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1168, allocations: 7.984 kB / 446.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1168, allocations: 0 / 446.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.1169, allocations: 27.92 kB / 446.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.1172, allocations: 277 kB / 446.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1173, allocations: 50.69 kB / 447 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1174, allocations: 3.953 kB / 447 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.1175, allocations: 79.44 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1175, allocations: 0 / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004764/0.118, allocations: 173.1 kB / 447.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1181, allocations: 85.09 kB / 447.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1182, allocations: 146.5 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1183, allocations: 29.7 kB / 447.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.1183, allocations: 100.1 kB / 447.6 MB, free: 8.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1183, allocations: 23.66 kB / 447.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1184, allocations: 4 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.1185, allocations: 318.8 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.1185, allocations: 23.98 kB / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.1186, allocations: 38.56 kB / 448 MB, free: 7.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.1186, allocations: 27.95 kB / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1186, allocations: 0 / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001672/0.1188, allocations: 97.56 kB / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1188, allocations: 7.984 kB / 448.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1188, allocations: 0 / 448.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1189, allocations: 4 kB / 448.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.709e-05/0.1189, allocations: 23.88 kB / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.119, allocations: 0 / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.119, allocations: 4 kB / 448.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.119, allocations: 3.984 kB / 448.1 MB, free: 7.453 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.136e-05/0.1191, allocations: 129.2 kB / 448.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.1191, allocations: 15.94 kB / 448.3 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.1192, allocations: 12.72 kB / 448.3 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1192, allocations: 3.984 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1192, allocations: 4 kB / 448.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1192, allocations: 0 / 448.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.1196, allocations: 383.3 kB / 448.7 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1196, allocations: 4.188 kB / 448.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.1197, allocations: 4 kB / 448.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1197, allocations: 11.97 kB / 448.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1197, allocations: 7.984 kB / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1197, allocations: 0 / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1197, allocations: 4.375 kB / 448.7 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1199, allocations: 217.8 kB / 448.9 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.12, allocations: 93 kB / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.12, allocations: 8 kB / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.1201, allocations: 4 kB / 449 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.1201, allocations: 7.984 kB / 449 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1201, allocations: 4 kB / 449 MB, free: 6.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.1202, allocations: 115.2 kB / 449.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1202, allocations: 0 / 449.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1205, allocations: 31.98 kB / 449.2 MB, free: 6.309 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009576/0.1215, allocations: 0.5044 MB / 449.7 MB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.1216, allocations: 55.92 kB / 449.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1216, allocations: 0 / 449.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.501e-05/0.1217, allocations: 31.92 kB / 449.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1219, allocations: 19.98 kB / 449.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.1223, allocations: 210.2 kB / 450 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1225, allocations: 0.7004 MB / 450.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.961e-05/0.1226, allocations: 13.19 kB / 450.7 MB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1226, allocations: 23.44 kB / 450.7 MB, free: 4.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1226, allocations: 3.938 kB / 450.7 MB, free: 4.727 MB / 382.1 MB Notification: Performance of Templates: time 0.003999/0.1266, allocations: 1.834 MB / 452.6 MB, free: 2.895 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches