Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.00127/0.00127, allocations: 188 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2168/0.2168, allocations: 44.17 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 66.09 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1014, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003361/0.1048, allocations: 1.707 MB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.107, allocations: 1.479 MB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.1071, allocations: 7.938 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.1074, allocations: 39.83 kB / 474 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1077, allocations: 55.7 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.108, allocations: 107.6 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1082, allocations: 95.75 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1083, allocations: 12.23 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.1084, allocations: 39.78 kB / 474.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1086, allocations: 43.77 kB / 474.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.1086, allocations: 8 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1088, allocations: 59.97 kB / 474.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.1088, allocations: 11.98 kB / 474.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.1089, allocations: 35.75 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1091, allocations: 123.6 kB / 474.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1092, allocations: 0 / 474.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1092, allocations: 0 / 474.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1092, allocations: 0 / 474.5 MB, free: 9.824 MB / 350.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.0006057/0.1098, allocations: 403.1 kB / 474.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1098, allocations: 8.031 kB / 474.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.1099, allocations: 12.84 kB / 474.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1102, allocations: 212.1 kB / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1102, allocations: 384 / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.1102, allocations: 12.06 kB / 475.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1104, allocations: 63.39 kB / 475.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1104, allocations: 4 kB / 475.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1105, allocations: 4 kB / 475.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1105, allocations: 7.984 kB / 475.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.628e-05/0.1105, allocations: 15.98 kB / 475.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.111, allocations: 280.9 kB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1111, allocations: 62.55 kB / 475.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.1112, allocations: 16.86 kB / 475.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1112, allocations: 8 kB / 475.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.1114, allocations: 63.39 kB / 475.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1114, allocations: 0 / 475.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005697/0.112, allocations: 181.1 kB / 475.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.112, allocations: 77.11 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1122, allocations: 149.8 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1122, allocations: 29.7 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.1123, allocations: 100.1 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1123, allocations: 23.7 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.1124, allocations: 25.66 kB / 476.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1125, allocations: 326.8 kB / 476.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.749e-05/0.1126, allocations: 19.98 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.1126, allocations: 42.56 kB / 476.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1128, allocations: 57.73 kB / 476.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1128, allocations: 0 / 476.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001797/0.113, allocations: 101.5 kB / 476.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.113, allocations: 4 kB / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.113, allocations: 0 / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.113, allocations: 0 / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.1131, allocations: 19.98 kB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1131, allocations: 7.875 kB / 476.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.1132, allocations: 15.91 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1132, allocations: 4 kB / 476.8 MB, free: 7.262 MB / 350.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 (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 9.534e-05/0.1133, allocations: 124.5 kB / 477 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1133, allocations: 7.906 kB / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.1134, allocations: 12.72 kB / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1134, allocations: 0 / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1134, allocations: 0 / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1134, allocations: 3.938 kB / 477 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1139, allocations: 395.3 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1139, allocations: 4 kB / 477.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.1139, allocations: 4 kB / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.114, allocations: 4 kB / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.114, allocations: 3.938 kB / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.114, allocations: 192 / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.114, allocations: 4 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1142, allocations: 216.1 kB / 477.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1143, allocations: 85.02 kB / 477.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1143, allocations: 7.938 kB / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1144, allocations: 4 kB / 477.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1144, allocations: 7.984 kB / 477.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1144, allocations: 4.375 kB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.689e-05/0.1145, allocations: 117.5 kB / 477.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1145, allocations: 0 / 477.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00028/0.1148, allocations: 32 kB / 477.9 MB, free: 6.141 MB / 350.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 (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.001071/0.1159, allocations: 0.498 MB / 478.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1161, allocations: 51.92 kB / 478.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1161, allocations: 0 / 478.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.1162, allocations: 35.92 kB / 478.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1165, allocations: 27.91 kB / 478.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.117, allocations: 195 kB / 478.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.1173, allocations: 0.6973 MB / 479.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.202e-05/0.1174, allocations: 21.17 kB / 479.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.1175, allocations: 15.44 kB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1175, allocations: 4 kB / 479.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of Templates: time 0.004816/0.1223, allocations: 1.969 MB / 481.4 MB, free: 2.785 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches