Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 106 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.001714/0.001714, allocations: 192.1 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.426/1.426, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2404/0.2404, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4178, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003552/0.4214, allocations: 1.71 MB / 0.5206 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.423, allocations: 0.8816 MB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.4231, allocations: 5.125 kB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.4234, allocations: 45.98 kB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.4237, allocations: 60.42 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.424, allocations: 112.6 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.4242, allocations: 96.52 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.4243, allocations: 12.53 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.078e-05/0.4244, allocations: 36.06 kB / 0.5218 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.4244, allocations: 33.64 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.4245, allocations: 4.344 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.4246, allocations: 42.66 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.4246, allocations: 23.08 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.4247, allocations: 50.31 kB / 0.522 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.4249, allocations: 129.9 kB / 0.5221 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4249, allocations: 0 / 0.5221 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4249, allocations: 0 / 0.5221 GB, free: 1.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.425, allocations: 1.188 kB / 0.5221 GB, free: 1.512 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.0004795/0.4254, allocations: 433.4 kB / 0.5225 GB, free: 1.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4255, allocations: 9.656 kB / 0.5225 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.4256, allocations: 15.38 kB / 0.5225 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.4258, allocations: 222.6 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4258, allocations: 6.172 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.4259, allocations: 6.375 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.426, allocations: 58.42 kB / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.426, allocations: 0 / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.426, allocations: 1.797 kB / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.4261, allocations: 0 / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.4261, allocations: 22.81 kB / 0.5228 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.4265, allocations: 289.3 kB / 0.5231 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4267, allocations: 64.77 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.4268, allocations: 19.83 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.4268, allocations: 1.688 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.4269, allocations: 68.7 kB / 0.5233 GB, free: 412 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4269, allocations: 5.031 kB / 0.5233 GB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000554/0.4275, allocations: 179.5 kB / 0.5234 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.4275, allocations: 59.41 kB / 0.5235 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.4278, allocations: 259.2 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.4278, allocations: 27.27 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.4279, allocations: 111.3 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.428, allocations: 29.83 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.4281, allocations: 25.86 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4282, allocations: 332.4 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.4283, allocations: 21.94 kB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.4284, allocations: 39.11 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.4285, allocations: 53.81 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4285, allocations: 0.7031 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.4287, allocations: 114.1 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4287, allocations: 8.688 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4288, allocations: 0.7031 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4288, allocations: 1.906 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.4289, allocations: 15.83 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4289, allocations: 0.7031 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.4289, allocations: 10.59 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.429, allocations: 8.25 kB / 0.5245 GB, free: 15.44 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.0001184/0.4291, allocations: 131.9 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.4291, allocations: 23.47 kB / 0.5246 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.4292, allocations: 23.59 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4292, allocations: 1.562 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4292, allocations: 0 / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.4292, allocations: 6.062 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.4297, allocations: 400.8 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4298, allocations: 1.281 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.4298, allocations: 8.828 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4298, allocations: 5.406 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4298, allocations: 9.812 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4298, allocations: 1.938 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4298, allocations: 0 / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.4301, allocations: 199.3 kB / 0.5253 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.4302, allocations: 93.89 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.4302, allocations: 10.41 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.4303, allocations: 10.45 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.4303, allocations: 6.094 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.4303, allocations: 4.125 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.4305, allocations: 203 kB / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4305, allocations: 0 / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.4308, allocations: 27.44 kB / 0.5256 GB, free: 14.52 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.001101/0.4319, allocations: 467.2 kB / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.4321, allocations: 64.62 kB / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4321, allocations: 0 / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.4322, allocations: 29.3 kB / 0.5261 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4326, allocations: 29.97 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.4332, allocations: 280.2 kB / 0.5264 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.4335, allocations: 0.7173 MB / 0.5271 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.711e-05/0.4336, allocations: 20.55 kB / 0.5272 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.4336, allocations: 24.58 kB / 0.5272 GB, free: 13.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4336, allocations: 0 / 0.5272 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Templates: time 0.005/0.4386, allocations: 1.733 MB / 0.5289 GB, free: 12.74 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches