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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.002326/0.002326, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 90.3 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.342/0.342, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1139, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003376/0.1173, allocations: 1.76 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1192, allocations: 1.371 MB / 490.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.1193, allocations: 0 / 490.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1196, allocations: 31.89 kB / 490.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1198, allocations: 55.78 kB / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.12, allocations: 79.83 kB / 490.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1202, allocations: 87.7 kB / 490.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.1203, allocations: 16.22 kB / 490.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.1204, allocations: 43.77 kB / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1205, allocations: 27.86 kB / 490.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1205, allocations: 4 kB / 490.5 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1206, allocations: 63.95 kB / 490.6 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.1207, allocations: 19.86 kB / 490.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.1208, allocations: 31.8 kB / 490.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.121, allocations: 119.9 kB / 490.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.121, allocations: 0 / 490.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.121, allocations: 0 / 490.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.121, allocations: 0 / 490.7 MB, free: 8.809 MB / 378.7 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.0004986/0.1215, allocations: 399.1 kB / 491.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1215, allocations: 8.031 kB / 491.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.1216, allocations: 12.84 kB / 491.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.1218, allocations: 219.7 kB / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1218, allocations: 384 / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1218, allocations: 8.125 kB / 491.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.122, allocations: 71.38 kB / 491.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.122, allocations: 3.938 kB / 491.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.122, allocations: 7.938 kB / 491.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1221, allocations: 4 kB / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.1221, allocations: 19.98 kB / 491.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.1225, allocations: 288.7 kB / 491.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1226, allocations: 50.69 kB / 491.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.1227, allocations: 20.84 kB / 491.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1227, allocations: 4 kB / 491.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.1229, allocations: 67.39 kB / 491.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.123, allocations: 3.938 kB / 491.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005013/0.1235, allocations: 173.5 kB / 492.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1235, allocations: 77.11 kB / 492.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1237, allocations: 149.8 kB / 492.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1237, allocations: 29.69 kB / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1238, allocations: 100.1 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.1238, allocations: 27.64 kB / 492.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1238, allocations: 21.72 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.124, allocations: 322.8 kB / 492.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.124, allocations: 24.17 kB / 492.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.1241, allocations: 46.56 kB / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1242, allocations: 57.69 kB / 492.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1242, allocations: 0 / 492.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001827/0.1244, allocations: 105.6 kB / 493 MB, free: 6.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1244, allocations: 4 kB / 493 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1245, allocations: 0 / 493 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1245, allocations: 0 / 493 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.1246, allocations: 23.92 kB / 493 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1246, allocations: 4.141 kB / 493 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.1246, allocations: 7.969 kB / 493 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1246, allocations: 4 kB / 493 MB, free: 6.242 MB / 378.7 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 8.468e-05/0.1247, allocations: 121.8 kB / 493.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.1248, allocations: 11.81 kB / 493.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.1248, allocations: 16.7 kB / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1248, allocations: 0 / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1248, allocations: 0 / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1248, allocations: 3.938 kB / 493.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.1252, allocations: 395.3 kB / 493.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1253, allocations: 192 / 493.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.1253, allocations: 11.98 kB / 493.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1253, allocations: 7.938 kB / 493.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1253, allocations: 3.938 kB / 493.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1253, allocations: 0 / 493.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1253, allocations: 3.938 kB / 493.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.1259, allocations: 0.7793 MB / 494.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1259, allocations: 85.02 kB / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.1259, allocations: 4 kB / 494.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.126, allocations: 3.984 kB / 494.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.126, allocations: 7.984 kB / 494.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1261, allocations: 8 kB / 494.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.1262, allocations: 122.7 kB / 494.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1262, allocations: 0 / 494.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000341/0.1265, allocations: 31.98 kB / 494.6 MB, free: 4.496 MB / 378.7 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.0009819/0.1275, allocations: 0.5087 MB / 495.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.1277, allocations: 67.81 kB / 495.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1277, allocations: 0 / 495.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.1278, allocations: 28 kB / 495.2 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.1281, allocations: 28.52 kB / 495.3 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.1286, allocations: 331.7 kB / 495.6 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1289, allocations: 0.7005 MB / 496.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.129, allocations: 16.88 kB / 496.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.129, allocations: 19.42 kB / 496.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.129, allocations: 0 / 496.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of Templates: time 0.004191/0.1332, allocations: 1.924 MB / 498.2 MB, free: 0.8711 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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