Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 187 kB / 16.64 MB, free: 5.133 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.001062/0.001062, allocations: 110.2 kB / 269.9 MB, free: 8.43 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.3292/0.3292, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009888/0.000989, allocations: 55.92 kB / 429.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1104, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004379/0.1149, allocations: 1.972 MB / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1167, allocations: 0.8235 MB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1168, allocations: 7.938 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1172, allocations: 35.83 kB / 489.9 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.1175, allocations: 47.78 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.1179, allocations: 95.81 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.1182, allocations: 131.5 kB / 490.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1183, allocations: 33.75 kB / 490.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1184, allocations: 47.78 kB / 490.2 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.1185, allocations: 51.7 kB / 490.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1186, allocations: 7.938 kB / 490.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1187, allocations: 39.98 kB / 490.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.1188, allocations: 19.92 kB / 490.3 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.1189, allocations: 51.61 kB / 490.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1191, allocations: 143.5 kB / 490.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1191, allocations: 0 / 490.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1191, allocations: 0 / 490.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1192, allocations: 0 / 490.5 MB, free: 9.016 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007856/0.12, allocations: 480.4 kB / 491 MB, free: 8.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.12, allocations: 12.03 kB / 491 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.1201, allocations: 16.75 kB / 491 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1204, allocations: 216.1 kB / 491.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1204, allocations: 8.375 kB / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1205, allocations: 8.125 kB / 491.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.1207, allocations: 112.1 kB / 491.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1208, allocations: 0 / 491.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1208, allocations: 4 kB / 491.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.1208, allocations: 4 kB / 491.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.121, allocations: 51.84 kB / 491.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.1216, allocations: 0.5125 MB / 491.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.1221, allocations: 90.61 kB / 492 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1222, allocations: 40.83 kB / 492 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1222, allocations: 4 kB / 492.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.1225, allocations: 79.31 kB / 492.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.1225, allocations: 0 / 492.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004935/0.123, allocations: 141.5 kB / 492.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1231, allocations: 59.34 kB / 492.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1233, allocations: 187.5 kB / 492.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1234, allocations: 33.64 kB / 492.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.1235, allocations: 119.9 kB / 492.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.1235, allocations: 27.69 kB / 492.7 MB, free: 6.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.1236, allocations: 29.7 kB / 492.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1237, allocations: 330.8 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1238, allocations: 23.98 kB / 493.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.124, allocations: 64.27 kB / 493.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1243, allocations: 96.22 kB / 493.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1243, allocations: 0 / 493.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003653/0.1246, allocations: 137.7 kB / 493.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1247, allocations: 8 kB / 493.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1247, allocations: 4.125 kB / 493.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1247, allocations: 4 kB / 493.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1249, allocations: 27.95 kB / 493.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1249, allocations: 7.938 kB / 493.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.125, allocations: 19.83 kB / 493.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.125, allocations: 4 kB / 493.4 MB, free: 5.824 MB / 378.7 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 0.0001208/0.1251, allocations: 125.8 kB / 493.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1252, allocations: 15.81 kB / 493.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.1252, allocations: 21.39 kB / 493.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1252, allocations: 3.938 kB / 493.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1253, allocations: 0 / 493.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1253, allocations: 4 kB / 493.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.1255, allocations: 205.6 kB / 493.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1255, allocations: 0 / 493.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.1256, allocations: 15.98 kB / 493.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1256, allocations: 3.938 kB / 493.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1256, allocations: 4 kB / 493.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1257, allocations: 3.938 kB / 493.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1257, allocations: 0 / 493.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.1277, allocations: 1.417 MB / 495.2 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1278, allocations: 92.89 kB / 495.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1278, allocations: 0 / 495.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.1279, allocations: 7.984 kB / 495.3 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.128, allocations: 8 kB / 495.3 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.128, allocations: 8 kB / 495.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.1281, allocations: 137.2 kB / 495.5 MB, free: 3.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1281, allocations: 4 kB / 495.5 MB, free: 3.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004169/0.1286, allocations: 40.17 kB / 495.5 MB, free: 3.48 MB / 378.7 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.0007773/0.1294, allocations: 418.3 kB / 495.9 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1296, allocations: 79.84 kB / 496 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1296, allocations: 0 / 496 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.1297, allocations: 47.84 kB / 496.1 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.13, allocations: 36.55 kB / 496.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.1305, allocations: 432.2 kB / 496.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1307, allocations: 0.7124 MB / 497.2 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.43e-05/0.1308, allocations: 21.41 kB / 497.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.1309, allocations: 23.44 kB / 497.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1309, allocations: 0 / 497.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of Templates: time 0.004088/0.135, allocations: 1.857 MB / 499.1 MB, free: 15.86 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches