Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 96.05 kB / 15.68 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.001824/0.001824, allocations: 178.1 kB / 16.57 MB, free: 6.844 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.385/1.385, allocations: 205.4 MB / 222.7 MB, free: 5.898 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.3533/0.3533, allocations: 43.54 MB / 314.5 MB, free: 8.648 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.000454/0.000454, allocations: 20 kB / 383.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 58.86 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001917/0.1056, allocations: 1.38 MB / 444.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1067, allocations: 0.7305 MB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.1068, allocations: 0 / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1071, allocations: 107.7 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1073, allocations: 71.83 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1076, allocations: 67.84 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1078, allocations: 75.83 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.1079, allocations: 12.22 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.108, allocations: 51.77 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.1081, allocations: 51.81 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1081, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.893e-05/0.1082, allocations: 27.94 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.1082, allocations: 19.91 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.1083, allocations: 45.64 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1084, allocations: 88.09 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1084, allocations: 0 / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1084, allocations: 0 / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1084, allocations: 0 / 445.5 MB, free: 10.34 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.0004689/0.1089, allocations: 430.6 kB / 445.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1089, allocations: 8.031 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.109, allocations: 7.906 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1092, allocations: 215.5 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1092, allocations: 0 / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.1093, allocations: 7.938 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1094, allocations: 61.61 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1095, allocations: 0 / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1095, allocations: 4 kB / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1095, allocations: 3.953 kB / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.699e-05/0.1096, allocations: 23.98 kB / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.1099, allocations: 284.9 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.11, allocations: 62.61 kB / 446.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1101, allocations: 4 kB / 446.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1102, allocations: 67.47 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1103, allocations: 0 / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005069/0.1108, allocations: 177.1 kB / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.1108, allocations: 55.39 kB / 446.9 MB, free: 8.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.111, allocations: 242.2 kB / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.111, allocations: 25.7 kB / 447.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.1111, allocations: 124 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1111, allocations: 19.8 kB / 447.3 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.1111, allocations: 4 kB / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1113, allocations: 326.8 kB / 447.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.1113, allocations: 15.98 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.653e-05/0.1114, allocations: 37.66 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.1114, allocations: 31.98 kB / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1115, allocations: 0 / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001668/0.1116, allocations: 97.44 kB / 447.8 MB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1116, allocations: 15.89 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.1117, allocations: 0 / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1117, allocations: 0 / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.1118, allocations: 19.97 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1118, allocations: 4 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.1118, allocations: 4 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1118, allocations: 4 kB / 447.8 MB, free: 7.781 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 0.000108/0.112, allocations: 137.8 kB / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.112, allocations: 15.81 kB / 448 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.112, allocations: 25.34 kB / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.112, allocations: 0 / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1121, allocations: 0 / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1121, allocations: 192 / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.1125, allocations: 407.3 kB / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1125, allocations: 3.938 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.1125, allocations: 12.31 kB / 448.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1125, allocations: 0 / 448.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1125, allocations: 8 kB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1125, allocations: 4 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1125, allocations: 0 / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1128, allocations: 221.9 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.1128, allocations: 92.91 kB / 448.7 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1129, allocations: 4 kB / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.1129, allocations: 0 / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.113, allocations: 11.98 kB / 448.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.113, allocations: 4 kB / 448.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1131, allocations: 184.2 kB / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1131, allocations: 0 / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1134, allocations: 31.98 kB / 448.9 MB, free: 6.531 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.0009105/0.1143, allocations: 457.2 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1145, allocations: 63.89 kB / 449.5 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1145, allocations: 0 / 449.5 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.442e-05/0.1146, allocations: 31.98 kB / 449.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1148, allocations: 24.12 kB / 449.5 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.1152, allocations: 286.7 kB / 449.8 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1155, allocations: 0.716 MB / 450.5 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.1156, allocations: 12.88 kB / 450.5 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.1156, allocations: 27.36 kB / 450.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1156, allocations: 0 / 450.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of Templates: time 0.003941/0.1196, allocations: 1.607 MB / 452.2 MB, free: 3.301 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches