Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009948, allocations: 104.5 kB / 291.8 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3745/0.3745, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 51.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3747, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003432/0.3782, allocations: 1.759 MB / 0.5081 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3798, allocations: 0.8665 MB / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.3799, allocations: 3.938 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.3802, allocations: 35.52 kB / 0.509 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.3805, allocations: 48.92 kB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.3807, allocations: 95.55 kB / 0.5091 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3809, allocations: 96.47 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.381, allocations: 10.33 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.338e-05/0.3811, allocations: 35.2 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.3812, allocations: 33.23 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3812, allocations: 2.5 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.3813, allocations: 39.7 kB / 0.5093 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.3813, allocations: 25.28 kB / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.3814, allocations: 33.97 kB / 0.5094 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.3816, allocations: 106.7 kB / 0.5095 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3816, allocations: 0 / 0.5095 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3816, allocations: 0 / 0.5095 GB, free: 36.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3816, allocations: 7.938 kB / 0.5095 GB, free: 36.24 MB / 378.7 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.0004801/0.3821, allocations: 405.6 kB / 0.5099 GB, free: 35.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3821, allocations: 8.375 kB / 0.5099 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.3822, allocations: 15.77 kB / 0.5099 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3824, allocations: 202.9 kB / 0.5101 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3824, allocations: 7.188 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3824, allocations: 10.62 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3825, allocations: 47 kB / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3826, allocations: 4 kB / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3826, allocations: 10.11 kB / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3826, allocations: 0 / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.3827, allocations: 17.64 kB / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.3829, allocations: 285.7 kB / 0.5105 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3831, allocations: 55.33 kB / 0.5105 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.3832, allocations: 27.55 kB / 0.5106 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.3832, allocations: 4 kB / 0.5106 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.3834, allocations: 59.62 kB / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3834, allocations: 0 / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004857/0.3839, allocations: 188.4 kB / 0.5108 GB, free: 35.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.3839, allocations: 54.28 kB / 0.5108 GB, free: 35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.384, allocations: 188.1 kB / 0.511 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.384, allocations: 32.2 kB / 0.5111 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.3841, allocations: 98.61 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.3841, allocations: 25.12 kB / 0.5112 GB, free: 34.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.3842, allocations: 22.14 kB / 0.5112 GB, free: 34.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.3842, allocations: 331.3 kB / 0.5115 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.3843, allocations: 22.31 kB / 0.5115 GB, free: 34.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.321e-05/0.3843, allocations: 35.88 kB / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3844, allocations: 58.72 kB / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3845, allocations: 0 / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/0.3846, allocations: 100.4 kB / 0.5117 GB, free: 34.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3846, allocations: 2.969 kB / 0.5117 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3846, allocations: 2.906 kB / 0.5117 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3847, allocations: 3.938 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.3847, allocations: 26.08 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3848, allocations: 0 / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.3848, allocations: 6.656 kB / 0.5118 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3848, allocations: 2.438 kB / 0.5118 GB, free: 34.24 MB / 378.7 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 6.827e-05/0.3849, allocations: 131.7 kB / 0.5119 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.3849, allocations: 13.56 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.385, allocations: 11.88 kB / 0.5119 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.385, allocations: 2.688 kB / 0.5119 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.385, allocations: 0 / 0.5119 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.385, allocations: 11.12 kB / 0.5119 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.3853, allocations: 392.5 kB / 0.5123 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3853, allocations: 3.281 kB / 0.5123 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.3854, allocations: 8.719 kB / 0.5123 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3854, allocations: 0 / 0.5123 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3854, allocations: 3.938 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3854, allocations: 2.812 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3854, allocations: 0 / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3857, allocations: 0.7869 MB / 0.5131 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.3858, allocations: 87.64 kB / 0.5132 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3858, allocations: 3.234 kB / 0.5132 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.3859, allocations: 2.938 kB / 0.5132 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3859, allocations: 16.47 kB / 0.5132 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3859, allocations: 10.75 kB / 0.5132 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.691e-05/0.386, allocations: 151.2 kB / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.386, allocations: 0 / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.3864, allocations: 28.91 kB / 0.5134 GB, free: 32.74 MB / 378.7 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.000928/0.3873, allocations: 456.9 kB / 0.5138 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.3875, allocations: 65.22 kB / 0.5139 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3875, allocations: 0 / 0.5139 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.3875, allocations: 28.8 kB / 0.5139 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.3879, allocations: 28.31 kB / 0.5139 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.3884, allocations: 374.3 kB / 0.5143 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.3885, allocations: 0.7071 MB / 0.515 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.3886, allocations: 16.64 kB / 0.515 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.3886, allocations: 16.09 kB / 0.515 GB, free: 31.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3886, allocations: 0 / 0.515 GB, free: 31.46 MB / 378.7 MB Notification: Performance of Templates: time 0.003997/0.3926, allocations: 1.678 MB / 0.5166 GB, free: 31.27 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches