Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, 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.001913/0.001914, 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.423/1.423, 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.2166/0.2166, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 60.14 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4536, allocations: 60.83 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003349/0.457, allocations: 1.715 MB / 0.5207 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.4585, allocations: 0.8807 MB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.4586, allocations: 1.094 kB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.459, allocations: 92.62 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.4592, allocations: 77.31 kB / 0.5217 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.4596, allocations: 110.4 kB / 0.5218 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.4598, allocations: 115.4 kB / 0.5219 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.4599, allocations: 25.86 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.46, allocations: 58.19 kB / 0.522 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.4601, allocations: 68.16 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.4601, allocations: 2.75 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.4603, allocations: 55.11 kB / 0.5221 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.4603, allocations: 25.28 kB / 0.5221 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.4604, allocations: 42.77 kB / 0.5222 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.4607, allocations: 136.3 kB / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4607, allocations: 0.75 kB / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4607, allocations: 0 / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.4607, allocations: 1 kB / 0.5223 GB, free: 1.496 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.0005364/0.4612, allocations: 435.5 kB / 0.5227 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4613, allocations: 10.12 kB / 0.5227 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.4613, allocations: 14.09 kB / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.4616, allocations: 217.5 kB / 0.523 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4616, allocations: 1.781 kB / 0.523 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.4616, allocations: 7.297 kB / 0.523 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.4618, allocations: 57.69 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4618, allocations: 4.641 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.4618, allocations: 0.9688 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4618, allocations: 5.094 kB / 0.523 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/0.4619, allocations: 26.05 kB / 0.5231 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.4623, allocations: 305 kB / 0.5233 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.4625, allocations: 57.08 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.4626, allocations: 24.61 kB / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.4626, allocations: 4 kB / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.4627, allocations: 79.72 kB / 0.5235 GB, free: 380 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.4628, allocations: 0.9688 kB / 0.5235 GB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007468/0.4635, allocations: 240.5 kB / 0.5237 GB, free: 268 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.4636, allocations: 57.72 kB / 0.5238 GB, free: 200 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.4638, allocations: 223.3 kB / 0.524 GB, free: 56 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.4638, allocations: 34.61 kB / 0.524 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.4639, allocations: 109.9 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.4639, allocations: 31.77 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.464, allocations: 28.75 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4641, allocations: 327.5 kB / 0.5245 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.4642, allocations: 26.91 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.4643, allocations: 44.7 kB / 0.5246 GB, free: 15.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.4645, allocations: 83.09 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4645, allocations: 1.688 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000232/0.4647, allocations: 124.1 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4647, allocations: 10.75 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4647, allocations: 3.938 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4648, allocations: 1.469 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.4648, allocations: 19.72 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4649, allocations: 5.594 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.4649, allocations: 6.25 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4649, allocations: 5.094 kB / 0.5248 GB, free: 15.38 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 (13): * Single equations (assignments): 13 * 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.0001199/0.4651, allocations: 129.5 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4651, allocations: 11.44 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.4651, allocations: 21.81 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4652, allocations: 1.406 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4652, allocations: 9.188 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4652, allocations: 0.9375 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.4658, allocations: 455.8 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4658, allocations: 1.781 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.4658, allocations: 20.48 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4658, allocations: 2.688 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4659, allocations: 2.578 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4659, allocations: 1.969 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4659, allocations: 2.281 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.4661, allocations: 246.6 kB / 0.5257 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.4662, allocations: 85.88 kB / 0.5258 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.4662, allocations: 7.047 kB / 0.5258 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.4663, allocations: 8.031 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.4664, allocations: 8.078 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4664, allocations: 11.95 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.4666, allocations: 171.6 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4666, allocations: 0 / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.4668, allocations: 31.2 kB / 0.526 GB, free: 14.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001194/0.468, allocations: 0.5107 MB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.4683, allocations: 82.55 kB / 0.5266 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4683, allocations: 0 / 0.5266 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.4684, allocations: 47.03 kB / 0.5266 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.4688, allocations: 27.45 kB / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.4694, allocations: 281.1 kB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.4697, allocations: 0.7255 MB / 0.5276 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.816e-05/0.4698, allocations: 19.7 kB / 0.5276 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.4698, allocations: 17.91 kB / 0.5277 GB, free: 13.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4698, allocations: 0 / 0.5277 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Templates: time 0.005253/0.4751, allocations: 1.977 MB / 0.5296 GB, free: 12.43 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches