Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.001175/0.001175, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.272/1.272, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1972/0.1972, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3465, allocations: 60.82 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003309/0.3498, allocations: 1.664 MB / 0.5206 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3511, allocations: 0.85 MB / 0.5214 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.3511, allocations: 5.094 kB / 0.5214 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.3514, allocations: 63.12 kB / 0.5215 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.3517, allocations: 65.77 kB / 0.5216 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3519, allocations: 107.5 kB / 0.5217 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3521, allocations: 94.55 kB / 0.5217 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.3522, allocations: 9.734 kB / 0.5218 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.3523, allocations: 45.89 kB / 0.5218 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.3524, allocations: 44.11 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3524, allocations: 2.562 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3525, allocations: 31.09 kB / 0.5219 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.3526, allocations: 24.7 kB / 0.5219 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.3527, allocations: 29.75 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.3529, allocations: 99.09 kB / 0.522 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3529, allocations: 0.5156 kB / 0.522 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3529, allocations: 1 kB / 0.522 GB, free: 1.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3529, allocations: 0 / 0.522 GB, free: 1.621 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000523/0.3535, allocations: 403.8 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3535, allocations: 9.656 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.3536, allocations: 9.312 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.3538, allocations: 214.5 kB / 0.5226 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3538, allocations: 5.625 kB / 0.5226 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3539, allocations: 6.125 kB / 0.5226 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.354, allocations: 50.64 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.354, allocations: 3.938 kB / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.354, allocations: 1.031 kB / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.354, allocations: 0 / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.3541, allocations: 20.06 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.3543, allocations: 178.2 kB / 0.5229 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3544, allocations: 57.05 kB / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.3545, allocations: 23.5 kB / 0.523 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3545, allocations: 1.125 kB / 0.523 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.3546, allocations: 64.77 kB / 0.523 GB, free: 0.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3546, allocations: 4 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002509/0.3549, allocations: 104 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.3549, allocations: 52.75 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3551, allocations: 190.1 kB / 0.5234 GB, free: 372 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.3551, allocations: 27.02 kB / 0.5234 GB, free: 340 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.3551, allocations: 99.39 kB / 0.5235 GB, free: 244 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.3552, allocations: 19.88 kB / 0.5235 GB, free: 228 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.3552, allocations: 20.41 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3553, allocations: 324.7 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.035e-05/0.3554, allocations: 13.3 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.3554, allocations: 31.03 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/0.3555, allocations: 46.22 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3555, allocations: 0 / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001481/0.3557, allocations: 80.84 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3557, allocations: 9.75 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3557, allocations: 0.7969 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3557, allocations: 1.125 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.3558, allocations: 14.84 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3558, allocations: 0 / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.3559, allocations: 9.172 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.3559, allocations: 2.281 kB / 0.524 GB, free: 15.76 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 (7): * Single equations (assignments): 7 * 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 9.658e-05/0.356, allocations: 123.9 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.356, allocations: 17.12 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.3561, allocations: 14.03 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3561, allocations: 2.125 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3561, allocations: 4 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3561, allocations: 0.6562 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.3562, allocations: 190.2 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3563, allocations: 0.7031 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.3563, allocations: 3.594 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3563, allocations: 5.375 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3563, allocations: 0.7031 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3563, allocations: 1.438 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3563, allocations: 7.938 kB / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.3565, allocations: 108.3 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.3565, allocations: 89.09 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3566, allocations: 0.8438 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.3566, allocations: 3.828 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3567, allocations: 3 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.3567, allocations: 3.125 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.3568, allocations: 143 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3568, allocations: 0 / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000213/0.357, allocations: 23.34 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009501/0.358, allocations: 411.8 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3582, allocations: 44.2 kB / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3582, allocations: 0 / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.3582, allocations: 19.02 kB / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3585, allocations: 29.28 kB / 0.5252 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.3589, allocations: 204.2 kB / 0.5254 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3592, allocations: 0.6981 MB / 0.5261 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.503e-05/0.3593, allocations: 10.3 kB / 0.5261 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.3593, allocations: 15.98 kB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 1.814e-06/0.3594, allocations: 4 kB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.004096/0.3635, allocations: 1.485 MB / 0.5276 GB, free: 13.62 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches