Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 108.1 kB / 18.45 MB, free: 4.578 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.001166/0.001166, allocations: 180.3 kB / 19.37 MB, free: 3.664 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.334/1.334, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2274/0.2274, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4003, allocations: 60.82 MB / 0.5196 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002857/0.4032, allocations: 1.673 MB / 0.5213 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.4046, allocations: 0.8597 MB / 0.5221 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.4047, allocations: 1.031 kB / 0.5221 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.405, allocations: 50.56 kB / 0.5222 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.4052, allocations: 59.48 kB / 0.5222 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.4055, allocations: 107.6 kB / 0.5223 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.4057, allocations: 92.77 kB / 0.5224 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.4057, allocations: 5.625 kB / 0.5224 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.4058, allocations: 40.23 kB / 0.5224 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.4059, allocations: 25.73 kB / 0.5225 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.4059, allocations: 2.281 kB / 0.5225 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.406, allocations: 35 kB / 0.5225 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.4061, allocations: 31.33 kB / 0.5225 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.4062, allocations: 38.09 kB / 0.5226 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.4064, allocations: 111.4 kB / 0.5227 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4064, allocations: 0 / 0.5227 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4064, allocations: 0 / 0.5227 GB, free: 1.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4064, allocations: 1.062 kB / 0.5227 GB, free: 1.844 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.0005324/0.407, allocations: 433.2 kB / 0.5231 GB, free: 1.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.407, allocations: 9.031 kB / 0.5231 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.4071, allocations: 14.84 kB / 0.5231 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.4073, allocations: 222.8 kB / 0.5233 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4073, allocations: 1.562 kB / 0.5233 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.4074, allocations: 9.734 kB / 0.5233 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.4075, allocations: 46.67 kB / 0.5234 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.4075, allocations: 0 / 0.5234 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4075, allocations: 0.7031 kB / 0.5234 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4075, allocations: 1.406 kB / 0.5234 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.638e-05/0.4076, allocations: 14.92 kB / 0.5234 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.4078, allocations: 193.4 kB / 0.5236 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.408, allocations: 52.75 kB / 0.5236 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.408, allocations: 23.97 kB / 0.5237 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.4081, allocations: 1.156 kB / 0.5237 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.4082, allocations: 69.73 kB / 0.5237 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.4082, allocations: 0 / 0.5237 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002837/0.4085, allocations: 97.22 kB / 0.5238 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.4085, allocations: 56.5 kB / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.4088, allocations: 257.8 kB / 0.5241 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4088, allocations: 26.5 kB / 0.5241 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.4089, allocations: 110.8 kB / 0.5242 GB, free: 436 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.4089, allocations: 19.88 kB / 0.5243 GB, free: 420 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.409, allocations: 28.34 kB / 0.5243 GB, free: 392 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.4091, allocations: 325.5 kB / 0.5246 GB, free: 68 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.4091, allocations: 13.52 kB / 0.5246 GB, free: 64 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.4092, allocations: 29.27 kB / 0.5246 GB, free: 40 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.4093, allocations: 42 kB / 0.5247 GB, free: 12 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4093, allocations: 1.125 kB / 0.5247 GB, free: 12 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002423/0.4096, allocations: 97.86 kB / 0.5248 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4096, allocations: 4.625 kB / 0.5248 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4096, allocations: 2.109 kB / 0.5248 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.4097, allocations: 5.297 kB / 0.5248 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4098, allocations: 9.703 kB / 0.5248 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.4098, allocations: 5.031 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.4098, allocations: 3.797 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.4099, allocations: 2.219 kB / 0.5248 GB, free: 15.93 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.0001472/0.41, allocations: 140.5 kB / 0.5249 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.41, allocations: 14.25 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.4101, allocations: 18.55 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4101, allocations: 1.406 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4101, allocations: 0.7969 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.4101, allocations: 0 / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.4103, allocations: 198.9 kB / 0.5252 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4104, allocations: 0 / 0.5252 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.4104, allocations: 3.562 kB / 0.5252 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4104, allocations: 0 / 0.5252 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4104, allocations: 6.109 kB / 0.5252 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4104, allocations: 6.094 kB / 0.5252 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4104, allocations: 0 / 0.5252 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.4107, allocations: 112.9 kB / 0.5253 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.4107, allocations: 89.52 kB / 0.5254 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.4108, allocations: 5.844 kB / 0.5254 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.4108, allocations: 2.562 kB / 0.5254 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4109, allocations: 3.609 kB / 0.5254 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.4109, allocations: 7 kB / 0.5254 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.4112, allocations: 199.8 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4112, allocations: 1.312 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.4114, allocations: 18.5 kB / 0.5256 GB, free: 15.26 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.001101/0.4125, allocations: 417.3 kB / 0.526 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.4127, allocations: 44.86 kB / 0.526 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4128, allocations: 0 / 0.526 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.4129, allocations: 21.66 kB / 0.5261 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.4132, allocations: 35.84 kB / 0.5261 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.4139, allocations: 280.1 kB / 0.5264 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4142, allocations: 0.7126 MB / 0.5271 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.4142, allocations: 14.08 kB / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4142, allocations: 0 / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of Templates: time 0.003862/0.4181, allocations: 1.855 MB / 0.5289 GB, free: 13.46 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches