Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 111 kB / 17.75 MB, free: 5.32 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.002236/0.002236, allocations: 191 kB / 18.68 MB, free: 4.395 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.492/1.492, 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.2344/0.2344, allocations: 44.18 MB / 336.7 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001557, allocations: 67.88 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.4546, allocations: 60.81 MB / 0.5189 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002864/0.4575, allocations: 1.714 MB / 0.5206 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.4588, allocations: 0.8759 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.4589, allocations: 1.062 kB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.4593, allocations: 38.34 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.4595, allocations: 55.47 kB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.4598, allocations: 113.6 kB / 0.5217 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.46, allocations: 100.3 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4601, allocations: 12.59 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.4602, allocations: 36.5 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.4603, allocations: 33.8 kB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.4603, allocations: 3.531 kB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.4605, allocations: 42.42 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.4605, allocations: 18.56 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.4606, allocations: 38.2 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.4608, allocations: 116.6 kB / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4609, allocations: 1.344 kB / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4609, allocations: 0 / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.4609, allocations: 0 / 0.522 GB, free: 1.551 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005346/0.4614, allocations: 406.2 kB / 0.5224 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4615, allocations: 9.672 kB / 0.5224 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.4615, allocations: 14.31 kB / 0.5225 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.4618, allocations: 216 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4618, allocations: 5.625 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.4619, allocations: 7.766 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.462, allocations: 56.41 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.462, allocations: 1.672 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.462, allocations: 0 / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4621, allocations: 1.156 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.4621, allocations: 18.33 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.4625, allocations: 287 kB / 0.523 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.4627, allocations: 68.97 kB / 0.5231 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.4628, allocations: 24.12 kB / 0.5231 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.4628, allocations: 2.609 kB / 0.5231 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.4629, allocations: 68.91 kB / 0.5232 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.463, allocations: 4 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005584/0.4635, allocations: 180.2 kB / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.4636, allocations: 57.55 kB / 0.5234 GB, free: 300 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.4638, allocations: 192.7 kB / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.4638, allocations: 26.83 kB / 0.5236 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.4638, allocations: 104.4 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.4639, allocations: 25.61 kB / 0.5237 GB, free: 16 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.4639, allocations: 21.81 kB / 0.5238 GB, free: 16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4641, allocations: 334.9 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.264e-05/0.4641, allocations: 17.52 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.4642, allocations: 43.52 kB / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4643, allocations: 57.95 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4643, allocations: 0 / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.4646, allocations: 101.4 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4646, allocations: 8.719 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4646, allocations: 0 / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4646, allocations: 2.016 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.4647, allocations: 19.38 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4647, allocations: 5.484 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.4648, allocations: 7.984 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.4648, allocations: 1.5 kB / 0.5243 GB, free: 15.53 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 (10): * Single equations (assignments): 10 * 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.0001023/0.4649, allocations: 131.2 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.4649, allocations: 17.44 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.465, allocations: 17.36 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.465, allocations: 2.219 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.465, allocations: 0.7031 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.465, allocations: 4.547 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.4655, allocations: 391.4 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4655, allocations: 0 / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.4656, allocations: 8.359 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4656, allocations: 5.844 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4656, allocations: 6.781 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4656, allocations: 4.312 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4656, allocations: 1.844 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.4658, allocations: 208.2 kB / 0.5251 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.4659, allocations: 84.38 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.4659, allocations: 11.2 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.466, allocations: 6.75 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.4661, allocations: 10.38 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.4661, allocations: 2.562 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.4662, allocations: 151.6 kB / 0.5253 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4662, allocations: 0 / 0.5253 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.4665, allocations: 23.11 kB / 0.5254 GB, free: 14.63 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 (8): * Single equations (assignments): 6 * 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.001076/0.4676, allocations: 471.7 kB / 0.5258 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4678, allocations: 55.98 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4678, allocations: 3.938 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/0.4679, allocations: 32.86 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.4683, allocations: 34.55 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.4688, allocations: 221.9 kB / 0.5262 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.4691, allocations: 0.7071 MB / 0.5268 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.607e-05/0.4692, allocations: 20.34 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.4692, allocations: 20.86 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4692, allocations: 0 / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.005291/0.4745, allocations: 1.701 MB / 0.5285 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches