Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001093/0.001093, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.517/1.517, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2562/0.2562, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4336, allocations: 60.83 MB / 0.519 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004531/0.4382, allocations: 1.796 MB / 0.5207 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.4399, allocations: 0.969 MB / 0.5217 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.4401, allocations: 1.188 kB / 0.5217 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000743/0.4408, allocations: 303.2 kB / 0.522 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.4413, allocations: 214.1 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.4418, allocations: 167.2 kB / 0.5223 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.4422, allocations: 241 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.03e-05/0.4423, allocations: 14.66 kB / 0.5226 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.4426, allocations: 137.3 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.4429, allocations: 185.1 kB / 0.5229 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.443, allocations: 7.375 kB / 0.5229 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.4431, allocations: 52.94 kB / 0.5229 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.4434, allocations: 126.3 kB / 0.523 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.4435, allocations: 151 kB / 0.5232 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006261/0.4442, allocations: 362 kB / 0.5235 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4442, allocations: 0 / 0.5235 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4442, allocations: 0 / 0.5235 GB, free: 1.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.4442, allocations: 0 / 0.5235 GB, free: 1.281 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001155/0.4454, allocations: 0.7328 MB / 0.5243 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.4454, allocations: 9.188 kB / 0.5243 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.4456, allocations: 46.88 kB / 0.5243 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.4462, allocations: 448.8 kB / 0.5247 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.4463, allocations: 7.109 kB / 0.5247 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4463, allocations: 7.391 kB / 0.5247 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.4465, allocations: 91.03 kB / 0.5248 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4465, allocations: 0 / 0.5248 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.4466, allocations: 1.891 kB / 0.5248 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4466, allocations: 0 / 0.5248 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.4467, allocations: 30.64 kB / 0.5249 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.4472, allocations: 376.6 kB / 0.5252 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.4476, allocations: 114.4 kB / 0.5253 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.4477, allocations: 43.45 kB / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.4477, allocations: 1.375 kB / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.448, allocations: 116 kB / 0.5255 GB, free: 15.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.448, allocations: 0 / 0.5255 GB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005918/0.4486, allocations: 197 kB / 0.5257 GB, free: 15.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.4487, allocations: 78.48 kB / 0.5258 GB, free: 15.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.45, allocations: 1.033 MB / 0.5268 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.45, allocations: 31.08 kB / 0.5268 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.4502, allocations: 237.8 kB / 0.527 GB, free: 14.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.4502, allocations: 19.75 kB / 0.527 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.4503, allocations: 31.2 kB / 0.5271 GB, free: 14.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4505, allocations: 365.6 kB / 0.5274 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.76e-05/0.4506, allocations: 26.98 kB / 0.5274 GB, free: 14.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.4507, allocations: 66.09 kB / 0.5275 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.4509, allocations: 86.45 kB / 0.5276 GB, free: 14.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4509, allocations: 0 / 0.5276 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003302/0.4512, allocations: 174.9 kB / 0.5278 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4512, allocations: 6.094 kB / 0.5278 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4512, allocations: 64 / 0.5278 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4513, allocations: 5.656 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.4514, allocations: 22.33 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.4514, allocations: 2.219 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4516, allocations: 16.41 kB / 0.5278 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.4516, allocations: 4.094 kB / 0.5278 GB, free: 14.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002604/0.4518, allocations: 233.2 kB / 0.528 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.4519, allocations: 49.75 kB / 0.5281 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.452, allocations: 62 kB / 0.5281 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.452, allocations: 5.094 kB / 0.5281 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4521, allocations: 1.062 kB / 0.5281 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4521, allocations: 1.094 kB / 0.5281 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.4525, allocations: 344.3 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4525, allocations: 1.156 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.4525, allocations: 6.25 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.4526, allocations: 4.891 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4526, allocations: 1.938 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4526, allocations: 4.844 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4526, allocations: 5.031 kB / 0.5285 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.453, allocations: 207.9 kB / 0.5287 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.4531, allocations: 138.2 kB / 0.5288 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.4532, allocations: 2.531 kB / 0.5288 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.4533, allocations: 11.11 kB / 0.5288 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.4534, allocations: 12.42 kB / 0.5288 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.4534, allocations: 3.625 kB / 0.5289 GB, free: 13.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.4545, allocations: 0.7754 MB / 0.5296 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4545, allocations: 0 / 0.5296 GB, free: 13.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.4548, allocations: 40.75 kB / 0.5296 GB, free: 13.02 MB / 398.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001063/0.4558, allocations: 419.7 kB / 0.53 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.4561, allocations: 79.86 kB / 0.5301 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4561, allocations: 0 / 0.5301 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.4563, allocations: 47.73 kB / 0.5302 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.4567, allocations: 67.7 kB / 0.5302 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.458, allocations: 0.855 MB / 0.5311 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.4585, allocations: 0.8441 MB / 0.5319 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.4586, allocations: 60.81 kB / 0.532 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.4587, allocations: 27.09 kB / 0.532 GB, free: 11.47 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4587, allocations: 0 / 0.532 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Templates: time 0.009838/0.4686, allocations: 3.754 MB / 0.5356 GB, free: 9.66 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches