Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001057/0.001057, allocations: 183 kB / 18.72 MB, free: 4.332 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.357/1.357, allocations: 222.9 MB / 242.4 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.2079/0.2079, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3654, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002928/0.3684, allocations: 1.713 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3699, allocations: 0.8816 MB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.37, allocations: 5.219 kB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.3704, allocations: 42.41 kB / 0.5216 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.3707, allocations: 68.47 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.371, allocations: 104.9 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.3712, allocations: 99.31 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3714, allocations: 11.97 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3715, allocations: 37.03 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/0.3716, allocations: 35.23 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3716, allocations: 7.344 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.3717, allocations: 41.84 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.3718, allocations: 24.59 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.3718, allocations: 41.81 kB / 0.522 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.3721, allocations: 134 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3721, allocations: 0 / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3721, allocations: 1.25 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.3721, allocations: 0 / 0.5221 GB, free: 1.516 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.0005038/0.3726, allocations: 445.9 kB / 0.5226 GB, free: 1.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3727, allocations: 13 kB / 0.5226 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.3727, allocations: 16.55 kB / 0.5226 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.373, allocations: 218.8 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.373, allocations: 1.531 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.373, allocations: 6.969 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3732, allocations: 57.59 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3732, allocations: 0 / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3732, allocations: 1.797 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3732, allocations: 1.031 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.3733, allocations: 22 kB / 0.5229 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.3736, allocations: 297.8 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.3738, allocations: 59.47 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.3738, allocations: 24.42 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3739, allocations: 0.875 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.374, allocations: 74.59 kB / 0.5233 GB, free: 396 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.374, allocations: 0 / 0.5233 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005079/0.3745, allocations: 180.2 kB / 0.5235 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.3746, allocations: 56.53 kB / 0.5236 GB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.3748, allocations: 263.2 kB / 0.5238 GB, free: 84 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3748, allocations: 25.7 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.3749, allocations: 120.7 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3749, allocations: 30.97 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.375, allocations: 21.16 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3751, allocations: 330.7 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.933e-05/0.3751, allocations: 22.91 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.3752, allocations: 38.09 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.3753, allocations: 62.17 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3753, allocations: 0 / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.3755, allocations: 107.2 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3756, allocations: 5.547 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3756, allocations: 1.094 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3756, allocations: 1.125 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.3757, allocations: 15.14 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3757, allocations: 1.281 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3757, allocations: 7.484 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3758, allocations: 6.406 kB / 0.5246 GB, free: 15.43 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.0001113/0.3759, allocations: 142.4 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.3759, allocations: 13.44 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.376, allocations: 23.81 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.376, allocations: 0.9375 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.376, allocations: 1.188 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.376, allocations: 4.594 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.3764, allocations: 401.4 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3764, allocations: 1.75 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.3765, allocations: 8.438 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3765, allocations: 1.656 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3765, allocations: 5.734 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3765, allocations: 1.094 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3765, allocations: 1.984 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3768, allocations: 209.8 kB / 0.5253 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.3768, allocations: 93.97 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.3769, allocations: 15.12 kB / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.3769, allocations: 6.438 kB / 0.5255 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.377, allocations: 10.34 kB / 0.5255 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.377, allocations: 3.375 kB / 0.5255 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.3772, allocations: 204.6 kB / 0.5257 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3772, allocations: 0 / 0.5257 GB, free: 14.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3775, allocations: 31.22 kB / 0.5257 GB, free: 14.49 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.001042/0.3785, allocations: 457.1 kB / 0.5261 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.3787, allocations: 64.28 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3787, allocations: 1.375 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.3788, allocations: 31.45 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3792, allocations: 27.47 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.3796, allocations: 284.7 kB / 0.5265 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.3799, allocations: 0.7196 MB / 0.5272 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.129e-05/0.38, allocations: 18.19 kB / 0.5272 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.38, allocations: 19.53 kB / 0.5273 GB, free: 13.33 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.38, allocations: 5.312 kB / 0.5273 GB, free: 13.33 MB / 398.1 MB Notification: Performance of Templates: time 0.004646/0.3847, allocations: 1.746 MB / 0.529 GB, free: 12.7 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches