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.001052/0.001052, allocations: 110 kB / 17.78 MB, free: 5.289 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.001083/0.001083, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2199/0.2199, allocations: 44.17 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4312, allocations: 60.81 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.004681/0.4359, allocations: 1.668 MB / 0.5206 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.4379, allocations: 0.8567 MB / 0.5214 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.438, allocations: 1.062 kB / 0.5214 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.4385, allocations: 61.59 kB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.4389, allocations: 68.81 kB / 0.5216 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.4393, allocations: 98.92 kB / 0.5217 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.4395, allocations: 99.09 kB / 0.5217 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.356e-05/0.4396, allocations: 4.453 kB / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.4397, allocations: 46.72 kB / 0.5218 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.4399, allocations: 48.88 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.4399, allocations: 6.531 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.4401, allocations: 30.02 kB / 0.5219 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.4401, allocations: 22.39 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.4402, allocations: 28.7 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.4405, allocations: 99.47 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.4405, allocations: 0 / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.4405, allocations: 1.781 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.4405, allocations: 0 / 0.522 GB, free: 1.605 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.0006692/0.4412, allocations: 401.2 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4413, allocations: 9.703 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.4413, allocations: 13.16 kB / 0.5224 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.4416, allocations: 206 kB / 0.5226 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.4416, allocations: 2.156 kB / 0.5226 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.4416, allocations: 9.469 kB / 0.5226 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.4418, allocations: 51.48 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4418, allocations: 0 / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4418, allocations: 1.219 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4419, allocations: 4 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.4419, allocations: 19.84 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.4422, allocations: 178 kB / 0.5229 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.4423, allocations: 53.14 kB / 0.5229 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.4424, allocations: 22.8 kB / 0.5229 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.4425, allocations: 5.984 kB / 0.523 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.4427, allocations: 68.11 kB / 0.523 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.4427, allocations: 1.312 kB / 0.523 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000326/0.443, allocations: 95.42 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.443, allocations: 52.91 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.4433, allocations: 189.7 kB / 0.5233 GB, free: 372 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.4433, allocations: 26.58 kB / 0.5234 GB, free: 340 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.4434, allocations: 104 kB / 0.5235 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.4434, allocations: 14.97 kB / 0.5235 GB, free: 228 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.4434, allocations: 23.92 kB / 0.5235 GB, free: 204 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4436, allocations: 322.2 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.4437, allocations: 13.58 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.4437, allocations: 27.03 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.4439, allocations: 49.94 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4439, allocations: 1 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001892/0.4441, allocations: 83.22 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4441, allocations: 5.906 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4441, allocations: 320 / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4442, allocations: 5.344 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.4443, allocations: 10.98 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.4443, allocations: 11.33 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.4443, allocations: 8.688 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4443, allocations: 3.766 kB / 0.524 GB, free: 15.75 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.0001424/0.4445, allocations: 126.6 kB / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.4445, allocations: 9.469 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.321e-05/0.4446, allocations: 15.47 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4446, allocations: 0 / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.4446, allocations: 1.75 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4446, allocations: 0.5625 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4449, allocations: 185.8 kB / 0.5243 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4449, allocations: 0 / 0.5243 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.4449, allocations: 6.641 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4449, allocations: 5.562 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.445, allocations: 4.641 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.445, allocations: 3.266 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.445, allocations: 3.938 kB / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.4452, allocations: 111 kB / 0.5245 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.4453, allocations: 84.28 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.4453, allocations: 6.594 kB / 0.5246 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.4454, allocations: 2.609 kB / 0.5246 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.4454, allocations: 3.516 kB / 0.5246 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4454, allocations: 6.297 kB / 0.5246 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.4456, allocations: 140 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4456, allocations: 0 / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.4459, allocations: 17.83 kB / 0.5247 GB, free: 15.11 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.001182/0.447, allocations: 413.5 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.4473, allocations: 49.73 kB / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4473, allocations: 0 / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/0.4473, allocations: 17.33 kB / 0.5252 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.4477, allocations: 40.47 kB / 0.5252 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.4482, allocations: 203 kB / 0.5254 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4486, allocations: 0.7013 MB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.811e-05/0.4487, allocations: 11.14 kB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.4487, allocations: 14.64 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4487, allocations: 0 / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of Templates: time 0.005519/0.4543, allocations: 1.508 MB / 0.5276 GB, free: 13.59 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