Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 113.3 kB / 17.78 MB, free: 5.266 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.001357/0.001357, allocations: 188.1 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.459/1.459, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2631/0.2631, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 67.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4442, allocations: 60.82 MB / 0.519 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003143/0.4474, allocations: 1.801 MB / 0.5207 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.4497, allocations: 1.563 MB / 0.5222 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.4497, allocations: 5 kB / 0.5223 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.45, allocations: 49.38 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.4504, allocations: 94.42 kB / 0.5224 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.4507, allocations: 167.5 kB / 0.5225 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.451, allocations: 184.2 kB / 0.5227 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.451, allocations: 9.062 kB / 0.5227 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.4512, allocations: 86.25 kB / 0.5228 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.4514, allocations: 68.98 kB / 0.5229 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.4514, allocations: 8.125 kB / 0.5229 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.4516, allocations: 65.34 kB / 0.523 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.4516, allocations: 34.06 kB / 0.523 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.335e-05/0.4517, allocations: 60.58 kB / 0.523 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.452, allocations: 171.6 kB / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.452, allocations: 0 / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.452, allocations: 0 / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.4521, allocations: 0 / 0.5232 GB, free: 0.7617 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.0005468/0.4526, allocations: 465.3 kB / 0.5236 GB, free: 336 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.4527, allocations: 9.531 kB / 0.5237 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.4527, allocations: 20.22 kB / 0.5237 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.453, allocations: 244.3 kB / 0.5239 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.453, allocations: 1.938 kB / 0.5239 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.453, allocations: 8.656 kB / 0.5239 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.4532, allocations: 97.98 kB / 0.524 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4533, allocations: 4 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.4533, allocations: 5.516 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4533, allocations: 2.109 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4534, allocations: 26.17 kB / 0.5241 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.4537, allocations: 212.5 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.454, allocations: 109.1 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4541, allocations: 42.92 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.4541, allocations: 5.609 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.4543, allocations: 113.2 kB / 0.5245 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.4544, allocations: 5.562 kB / 0.5245 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004367/0.4548, allocations: 162.6 kB / 0.5247 GB, free: 15.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.4549, allocations: 132.7 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.4551, allocations: 209.2 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.4552, allocations: 30.73 kB / 0.525 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.4552, allocations: 111.6 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.4553, allocations: 30.88 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.4554, allocations: 32.72 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4555, allocations: 328.6 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.4556, allocations: 27.5 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.4557, allocations: 72.45 kB / 0.5256 GB, free: 14.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.4559, allocations: 89.02 kB / 0.5257 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.4559, allocations: 4 kB / 0.5257 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000259/0.4562, allocations: 138.8 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4562, allocations: 5.406 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4562, allocations: 6.266 kB / 0.5258 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.4562, allocations: 64 / 0.5258 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.4563, allocations: 25.88 kB / 0.5259 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4564, allocations: 1.344 kB / 0.5259 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.4564, allocations: 18.23 kB / 0.5259 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.4565, allocations: 4.391 kB / 0.5259 GB, free: 14.48 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001083/0.4566, allocations: 135.2 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.4566, allocations: 16.7 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.4567, allocations: 23.39 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4567, allocations: 0 / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4567, allocations: 7.641 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4567, allocations: 0.5156 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.4569, allocations: 212.9 kB / 0.5263 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4569, allocations: 0 / 0.5263 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.457, allocations: 12.83 kB / 0.5263 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.457, allocations: 1.562 kB / 0.5263 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.457, allocations: 6.734 kB / 0.5263 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.457, allocations: 0.5625 kB / 0.5263 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.457, allocations: 5.531 kB / 0.5263 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.4574, allocations: 171 kB / 0.5265 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.4574, allocations: 86.41 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.4575, allocations: 11.25 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.4575, allocations: 10.2 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.4576, allocations: 10.8 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.4576, allocations: 9.344 kB / 0.5266 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.4578, allocations: 159.6 kB / 0.5267 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4578, allocations: 1.375 kB / 0.5267 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.4581, allocations: 33.75 kB / 0.5268 GB, free: 13.77 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001035/0.4591, allocations: 449.1 kB / 0.5272 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.4594, allocations: 90 kB / 0.5273 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4594, allocations: 0 / 0.5273 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.4595, allocations: 40.19 kB / 0.5273 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.4598, allocations: 64.16 kB / 0.5274 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.4603, allocations: 252.7 kB / 0.5276 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.4606, allocations: 0.7288 MB / 0.5283 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.316e-05/0.4607, allocations: 24.28 kB / 0.5283 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.4608, allocations: 32.72 kB / 0.5284 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4608, allocations: 4 kB / 0.5284 GB, free: 12.58 MB / 398.1 MB Notification: Performance of Templates: time 0.005692/0.4665, allocations: 2.659 MB / 0.531 GB, free: 11.33 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches