Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 113.4 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.00131/0.00131, allocations: 188.9 kB / 18.71 MB, free: 4.344 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.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.225/0.225, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4723, allocations: 60.83 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004175/0.4766, allocations: 1.71 MB / 0.5206 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.4789, allocations: 1.484 MB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.479, allocations: 5.219 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.4794, allocations: 40.11 kB / 0.5221 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.4797, allocations: 52 kB / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.48, allocations: 113.9 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.4802, allocations: 104.7 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.4803, allocations: 12.28 kB / 0.5224 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.4804, allocations: 42.66 kB / 0.5225 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.4806, allocations: 45.58 kB / 0.5225 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.4806, allocations: 5.781 kB / 0.5225 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.4807, allocations: 63.56 kB / 0.5226 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.4808, allocations: 20.97 kB / 0.5226 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.4809, allocations: 34.92 kB / 0.5226 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.4811, allocations: 126.3 kB / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4811, allocations: 1.125 kB / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4811, allocations: 0 / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4812, allocations: 0 / 0.5227 GB, free: 1.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005384/0.4817, allocations: 422 kB / 0.5231 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4817, allocations: 10.39 kB / 0.5231 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.4818, allocations: 13.91 kB / 0.5232 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.4821, allocations: 211.4 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4821, allocations: 5.641 kB / 0.5234 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.4822, allocations: 7.375 kB / 0.5234 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.4824, allocations: 70.97 kB / 0.5234 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4824, allocations: 0 / 0.5234 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4824, allocations: 5.672 kB / 0.5235 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4824, allocations: 1.469 kB / 0.5235 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.4825, allocations: 32.14 kB / 0.5235 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.4829, allocations: 297.8 kB / 0.5238 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.4832, allocations: 63.25 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.4833, allocations: 34.62 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.4833, allocations: 6.547 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.4835, allocations: 76.61 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.4835, allocations: 0 / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006588/0.4842, allocations: 193.4 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.4843, allocations: 83.2 kB / 0.5242 GB, free: 15.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.4845, allocations: 163.1 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4845, allocations: 28.33 kB / 0.5244 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.4846, allocations: 98.5 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.4846, allocations: 25.47 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.4847, allocations: 24.28 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4848, allocations: 320.5 kB / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.4849, allocations: 24.58 kB / 0.5249 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.485, allocations: 61 kB / 0.5249 GB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.4852, allocations: 70.83 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4852, allocations: 96 / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002311/0.4854, allocations: 113.7 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4854, allocations: 6.188 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4855, allocations: 0 / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.4855, allocations: 6.344 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4856, allocations: 20.81 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.4856, allocations: 8.125 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.4857, allocations: 8.594 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4857, allocations: 2.656 kB / 0.5251 GB, free: 14.95 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 (11): * Single equations (assignments): 11 * 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.0001124/0.4858, allocations: 125.6 kB / 0.5253 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.4859, allocations: 14.38 kB / 0.5253 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.4859, allocations: 18.33 kB / 0.5253 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4859, allocations: 1.75 kB / 0.5253 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4859, allocations: 0.6562 kB / 0.5253 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.486, allocations: 4.656 kB / 0.5253 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.4865, allocations: 410 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4865, allocations: 5.312 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.4866, allocations: 9.844 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4866, allocations: 1.938 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4866, allocations: 7.078 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4866, allocations: 0 / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4866, allocations: 1.188 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4869, allocations: 221.4 kB / 0.5259 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.487, allocations: 87.98 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.487, allocations: 2.469 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.4871, allocations: 5.203 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.4871, allocations: 9.516 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.4871, allocations: 8.797 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.4873, allocations: 125.2 kB / 0.5262 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4873, allocations: 0 / 0.5262 GB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.4876, allocations: 31.17 kB / 0.5262 GB, free: 14.06 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: 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 (9): * Single equations (assignments): 7 * 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.001305/0.4889, allocations: 497.4 kB / 0.5267 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.4891, allocations: 74.7 kB / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4892, allocations: 0 / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.4893, allocations: 36.12 kB / 0.5268 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.4897, allocations: 39.72 kB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.4903, allocations: 207.9 kB / 0.527 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.4906, allocations: 0.7043 MB / 0.5277 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.223e-05/0.4907, allocations: 21.16 kB / 0.5277 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.4908, allocations: 25.11 kB / 0.5277 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4908, allocations: 0 / 0.5277 GB, free: 12.91 MB / 398.1 MB Notification: Performance of Templates: time 0.006349/0.4972, allocations: 2.089 MB / 0.5298 GB, free: 12.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches