Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001561, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001119/0.001119, allocations: 185 kB / 18.71 MB, free: 4.32 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.63/1.63, allocations: 222.9 MB / 242.4 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.2344/0.2344, allocations: 44.17 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4397, allocations: 60.82 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003244/0.443, allocations: 1.663 MB / 0.5206 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.4443, allocations: 0.857 MB / 0.5214 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.4444, allocations: 5.125 kB / 0.5214 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.4447, allocations: 60.09 kB / 0.5215 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.445, allocations: 65.16 kB / 0.5216 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.4452, allocations: 103 kB / 0.5217 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.4454, allocations: 99.11 kB / 0.5218 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.4455, allocations: 10 kB / 0.5218 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.773e-05/0.4456, allocations: 47.16 kB / 0.5218 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.4457, allocations: 43.62 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.4457, allocations: 3.375 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.4458, allocations: 37.28 kB / 0.5219 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.4459, allocations: 18.72 kB / 0.5219 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.4459, allocations: 27.92 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.4461, allocations: 100.2 kB / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4462, allocations: 0 / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4462, allocations: 0 / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.4462, allocations: 4.609 kB / 0.522 GB, free: 1.613 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004517/0.4466, allocations: 393.8 kB / 0.5224 GB, free: 1.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4467, allocations: 10.06 kB / 0.5224 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.4467, allocations: 13.73 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.4469, allocations: 210 kB / 0.5226 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.447, allocations: 1.625 kB / 0.5226 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.447, allocations: 5.484 kB / 0.5226 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.4471, allocations: 50.3 kB / 0.5227 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4471, allocations: 4.688 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4472, allocations: 5.312 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4472, allocations: 0 / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.899e-05/0.4472, allocations: 15.92 kB / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.4474, allocations: 177.9 kB / 0.5229 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.4476, allocations: 57.23 kB / 0.5229 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.4476, allocations: 26.88 kB / 0.523 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.4477, allocations: 1.719 kB / 0.523 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.4478, allocations: 64.69 kB / 0.523 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.4478, allocations: 0 / 0.523 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002915/0.4481, allocations: 100.1 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.4482, allocations: 57.44 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4483, allocations: 189.1 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.4484, allocations: 26.83 kB / 0.5234 GB, free: 348 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.4484, allocations: 99.09 kB / 0.5235 GB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.4484, allocations: 16.83 kB / 0.5235 GB, free: 240 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.4485, allocations: 19.83 kB / 0.5235 GB, free: 220 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4486, allocations: 320.8 kB / 0.5238 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/0.4486, allocations: 14.95 kB / 0.5238 GB, free: 15.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.4487, allocations: 37.48 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.758e-05/0.4488, allocations: 46.16 kB / 0.5239 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4488, allocations: 1.125 kB / 0.5239 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001631/0.449, allocations: 83.77 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.449, allocations: 5.719 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.449, allocations: 0.9375 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4491, allocations: 4.922 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.4492, allocations: 19.62 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4492, allocations: 0 / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.4492, allocations: 4.266 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4492, allocations: 1.094 kB / 0.524 GB, free: 15.77 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001112/0.4494, allocations: 125.4 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.4494, allocations: 9.547 kB / 0.5242 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.4494, allocations: 13.09 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4494, allocations: 2.047 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4494, allocations: 0 / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4495, allocations: 5.094 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.4496, allocations: 185.5 kB / 0.5243 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4496, allocations: 0.7031 kB / 0.5243 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.4497, allocations: 4.5 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4497, allocations: 3.938 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.4497, allocations: 2.828 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4497, allocations: 320 / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4497, allocations: 4.734 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.4499, allocations: 123.9 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.45, allocations: 84.53 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.45, allocations: 2.172 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.45, allocations: 2.109 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4501, allocations: 8.422 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4501, allocations: 2.219 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4502, allocations: 139.5 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4502, allocations: 0 / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.4505, allocations: 15.11 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009793/0.4514, allocations: 422.6 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.4516, allocations: 39.28 kB / 0.5252 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4516, allocations: 1.25 kB / 0.5252 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/0.4517, allocations: 17.03 kB / 0.5252 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.452, allocations: 30.69 kB / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.4525, allocations: 195.4 kB / 0.5254 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4527, allocations: 0.7021 MB / 0.5261 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.4528, allocations: 19.31 kB / 0.5261 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.4528, allocations: 13.31 kB / 0.5261 GB, free: 14.03 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4528, allocations: 1.438 kB / 0.5261 GB, free: 14.03 MB / 398.1 MB Notification: Performance of Templates: time 0.004753/0.4576, allocations: 1.489 MB / 0.5276 GB, free: 13.63 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches