Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,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.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,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.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001276, allocations: 100.1 kB / 18.44 MB, free: 4.625 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.00132/0.00132, allocations: 184.2 kB / 19.37 MB, free: 3.703 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.307/1.307, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2096/0.2096, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 59.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3762, allocations: 60.84 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003208/0.3794, allocations: 1.794 MB / 0.5214 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.3817, allocations: 1.567 MB / 0.5229 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3819, allocations: 1.125 kB / 0.5229 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.3823, allocations: 56.48 kB / 0.523 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.3826, allocations: 92.11 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.3831, allocations: 166.5 kB / 0.5232 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.3834, allocations: 187.2 kB / 0.5234 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.3834, allocations: 8.922 kB / 0.5234 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3836, allocations: 83.09 kB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.3838, allocations: 75.48 kB / 0.5235 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.3838, allocations: 8.031 kB / 0.5236 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.384, allocations: 61.78 kB / 0.5236 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.3841, allocations: 34.61 kB / 0.5236 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.3842, allocations: 52.27 kB / 0.5237 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.3845, allocations: 169.3 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.3845, allocations: 4.656 kB / 0.5239 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3845, allocations: 1.188 kB / 0.5239 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3845, allocations: 0 / 0.5239 GB, free: 0.7656 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.000601/0.3851, allocations: 469.2 kB / 0.5243 GB, free: 336 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3851, allocations: 11.59 kB / 0.5243 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.3852, allocations: 15.53 kB / 0.5243 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.3856, allocations: 239.2 kB / 0.5246 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3856, allocations: 6.5 kB / 0.5246 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3856, allocations: 7.219 kB / 0.5246 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.3858, allocations: 99.36 kB / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3859, allocations: 0 / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.3859, allocations: 1.859 kB / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3859, allocations: 1.219 kB / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.386, allocations: 29.25 kB / 0.5247 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.3864, allocations: 221.9 kB / 0.5249 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.3867, allocations: 104.9 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3868, allocations: 50.06 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.3868, allocations: 3.328 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.387, allocations: 108.6 kB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3871, allocations: 3.938 kB / 0.5252 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005106/0.3876, allocations: 160.5 kB / 0.5253 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.3877, allocations: 139.6 kB / 0.5255 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.388, allocations: 210.4 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.388, allocations: 30.5 kB / 0.5257 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3881, allocations: 110.1 kB / 0.5258 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.3881, allocations: 31.22 kB / 0.5258 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.3882, allocations: 33.44 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3884, allocations: 330.2 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.3884, allocations: 29.62 kB / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3886, allocations: 68.92 kB / 0.5263 GB, free: 14.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.3888, allocations: 89.02 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3888, allocations: 4.031 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002936/0.3891, allocations: 142.3 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3891, allocations: 5.406 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3891, allocations: 2.172 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.3891, allocations: 1.438 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3893, allocations: 20.2 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3893, allocations: 1.969 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.3894, allocations: 19.28 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3894, allocations: 7.75 kB / 0.5265 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.0001277/0.3895, allocations: 135.1 kB / 0.5267 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.3896, allocations: 17.53 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.3896, allocations: 17 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3896, allocations: 1.781 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3896, allocations: 1.781 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3896, allocations: 0.7969 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3899, allocations: 215 kB / 0.5269 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3899, allocations: 0 / 0.5269 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.3899, allocations: 11.28 kB / 0.5269 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3899, allocations: 1.25 kB / 0.5269 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.39, allocations: 12.3 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.39, allocations: 0 / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.39, allocations: 1.844 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.3903, allocations: 170.5 kB / 0.5271 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.3904, allocations: 90.31 kB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.3904, allocations: 12.05 kB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.3905, allocations: 5.438 kB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.3906, allocations: 11.11 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3906, allocations: 9.422 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.3908, allocations: 160.8 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3908, allocations: 1.375 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.3911, allocations: 33.56 kB / 0.5274 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.001109/0.3922, allocations: 454.5 kB / 0.5278 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.3925, allocations: 85.81 kB / 0.5279 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3925, allocations: 0 / 0.5279 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3926, allocations: 48.27 kB / 0.528 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.0003992/0.393, allocations: 50.14 kB / 0.528 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.3936, allocations: 285.3 kB / 0.5283 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.394, allocations: 0.7247 MB / 0.529 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.3941, allocations: 24.45 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3941, allocations: 0 / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of Templates: time 0.00692/0.401, allocations: 2.749 MB / 0.5317 GB, free: 11.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches