Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007883/0.0007884, allocations: 94.55 kB / 18 MB, free: 5.602 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.0008394/0.0008398, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.376/1.376, allocations: 223.3 MB / 243 MB, free: 14.29 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.2/0.2, allocations: 44.25 MB / 338.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003186, allocations: 9.875 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 61.93 MB / 472.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002008/0.1058, allocations: 1.421 MB / 474.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1079, allocations: 1.421 MB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.732e-05/0.108, allocations: 3.938 kB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1083, allocations: 35.89 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1085, allocations: 43.84 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1088, allocations: 103.8 kB / 476 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.109, allocations: 91.64 kB / 476 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1091, allocations: 12.22 kB / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.1092, allocations: 39.78 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1094, allocations: 34.67 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1094, allocations: 0 / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.1095, allocations: 63.89 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.1096, allocations: 23.92 kB / 476.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.1097, allocations: 49.52 kB / 476.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1098, allocations: 88.08 kB / 476.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1099, allocations: 4 kB / 476.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1099, allocations: 0 / 476.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1099, allocations: 0 / 476.3 MB, free: 9.832 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.0005033/0.1104, allocations: 383.3 kB / 476.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1104, allocations: 12.03 kB / 476.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.1105, allocations: 12.75 kB / 476.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1107, allocations: 214.7 kB / 477 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1107, allocations: 384 / 477 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1108, allocations: 8.125 kB / 477 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1109, allocations: 71.38 kB / 477 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.111, allocations: 0 / 477 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.111, allocations: 0 / 477 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.111, allocations: 0 / 477 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.666e-05/0.1111, allocations: 23.98 kB / 477.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.1114, allocations: 284.7 kB / 477.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1116, allocations: 54.69 kB / 477.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.1117, allocations: 20.84 kB / 477.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1117, allocations: 4 kB / 477.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.1119, allocations: 71.33 kB / 477.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1119, allocations: 0 / 477.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005392/0.1125, allocations: 177.2 kB / 477.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.1125, allocations: 77.11 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1127, allocations: 149.8 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1127, allocations: 29.7 kB / 477.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.1128, allocations: 96.08 kB / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1128, allocations: 27.69 kB / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.1128, allocations: 17.72 kB / 478 MB, free: 7.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1129, allocations: 326.8 kB / 478.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.113, allocations: 19.98 kB / 478.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.1131, allocations: 46.5 kB / 478.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1132, allocations: 57.66 kB / 478.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1132, allocations: 4.031 kB / 478.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.1134, allocations: 97.95 kB / 478.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1134, allocations: 4 kB / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1134, allocations: 0 / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1135, allocations: 0 / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.1136, allocations: 23.94 kB / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1136, allocations: 3.984 kB / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.1136, allocations: 15.88 kB / 478.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1137, allocations: 0 / 478.6 MB, free: 7.297 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.155e-05/0.1137, allocations: 125.9 kB / 478.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.1138, allocations: 7.906 kB / 478.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.1138, allocations: 16.7 kB / 478.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1138, allocations: 0 / 478.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1138, allocations: 0 / 478.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1138, allocations: 7.938 kB / 478.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.1143, allocations: 391.2 kB / 479.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1143, allocations: 4.031 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.1143, allocations: 11.98 kB / 479.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1143, allocations: 0 / 479.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1144, allocations: 3.938 kB / 479.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1144, allocations: 7.938 kB / 479.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1144, allocations: 0 / 479.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.1146, allocations: 204.3 kB / 479.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.1147, allocations: 85 kB / 479.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1147, allocations: 11.94 kB / 479.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.1148, allocations: 4 kB / 479.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.1148, allocations: 3.984 kB / 479.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1149, allocations: 4 kB / 479.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.04e-05/0.1149, allocations: 117.8 kB / 479.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.115, allocations: 7.938 kB / 479.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1152, allocations: 32 kB / 479.7 MB, free: 6.164 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.001137/0.1164, allocations: 0.4991 MB / 480.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.1166, allocations: 55.98 kB / 480.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1166, allocations: 0 / 480.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.1167, allocations: 27.92 kB / 480.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.117, allocations: 31.95 kB / 480.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.1174, allocations: 243.7 kB / 480.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1177, allocations: 0.6965 MB / 481.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.1177, allocations: 15.44 kB / 481.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1178, allocations: 4 kB / 481.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of Templates: time 0.003938/0.1217, allocations: 2.043 MB / 483.3 MB, free: 2.699 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches