Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 113.3 kB / 18.45 MB, free: 4.59 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.001295/0.001295, allocations: 181.1 kB / 19.38 MB, free: 3.672 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.384/1.384, allocations: 222.9 MB / 243.1 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.2054/0.2054, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3619, allocations: 60.82 MB / 0.5196 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002944/0.3649, allocations: 1.7 MB / 0.5213 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3661, allocations: 0.8808 MB / 0.5222 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.3662, allocations: 0 / 0.5222 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.3666, allocations: 46.7 kB / 0.5222 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.3668, allocations: 67.8 kB / 0.5223 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.3671, allocations: 109.6 kB / 0.5224 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3673, allocations: 100.5 kB / 0.5225 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3674, allocations: 14.78 kB / 0.5225 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.3675, allocations: 37.97 kB / 0.5225 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.3676, allocations: 34.12 kB / 0.5226 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.3677, allocations: 7.406 kB / 0.5226 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3678, allocations: 43.45 kB / 0.5226 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.3678, allocations: 24.34 kB / 0.5226 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.3679, allocations: 50.11 kB / 0.5227 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.3681, allocations: 128.7 kB / 0.5228 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3681, allocations: 1.125 kB / 0.5228 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3682, allocations: 0 / 0.5228 GB, free: 1.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3682, allocations: 0 / 0.5228 GB, free: 1.785 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.0004969/0.3687, allocations: 441.8 kB / 0.5232 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3687, allocations: 14.06 kB / 0.5232 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.3688, allocations: 15.47 kB / 0.5233 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.369, allocations: 219.8 kB / 0.5235 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.369, allocations: 2.109 kB / 0.5235 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.3691, allocations: 6.5 kB / 0.5235 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3692, allocations: 62.16 kB / 0.5235 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3692, allocations: 3.938 kB / 0.5235 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3693, allocations: 1.094 kB / 0.5235 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3693, allocations: 0.75 kB / 0.5235 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/0.3693, allocations: 27.16 kB / 0.5236 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.3697, allocations: 297.6 kB / 0.5238 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3698, allocations: 56.7 kB / 0.5239 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.3699, allocations: 19.69 kB / 0.5239 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3699, allocations: 5.438 kB / 0.5239 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.3701, allocations: 69.36 kB / 0.524 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3701, allocations: 1.5 kB / 0.524 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005376/0.3706, allocations: 178.9 kB / 0.5242 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.3707, allocations: 57.2 kB / 0.5242 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.371, allocations: 276 kB / 0.5245 GB, free: 352 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.371, allocations: 26.98 kB / 0.5245 GB, free: 320 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.3711, allocations: 123.2 kB / 0.5246 GB, free: 204 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.3712, allocations: 22.59 kB / 0.5246 GB, free: 188 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.3712, allocations: 26.3 kB / 0.5247 GB, free: 164 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3713, allocations: 333.3 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.3714, allocations: 17.16 kB / 0.525 GB, free: 15.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.3715, allocations: 39.59 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3716, allocations: 61 kB / 0.5251 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3716, allocations: 1.25 kB / 0.5251 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.3718, allocations: 102 kB / 0.5252 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3718, allocations: 9.703 kB / 0.5252 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3718, allocations: 0 / 0.5252 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3719, allocations: 1.312 kB / 0.5252 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.372, allocations: 15.34 kB / 0.5252 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.372, allocations: 1.469 kB / 0.5252 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.372, allocations: 15.91 kB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.372, allocations: 3 kB / 0.5252 GB, free: 15.7 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.0001153/0.3722, allocations: 138.5 kB / 0.5254 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.3722, allocations: 15.72 kB / 0.5254 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.3723, allocations: 19.47 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3723, allocations: 1.781 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3723, allocations: 0 / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3723, allocations: 8.672 kB / 0.5254 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.3728, allocations: 408.4 kB / 0.5258 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.3728, allocations: 4.547 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.3728, allocations: 13.88 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3728, allocations: 0 / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3729, allocations: 7.797 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3729, allocations: 0.8438 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3729, allocations: 384 / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.3731, allocations: 213.8 kB / 0.526 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.3732, allocations: 89.66 kB / 0.5261 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.3732, allocations: 5.875 kB / 0.5261 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.3733, allocations: 11.92 kB / 0.5261 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.3733, allocations: 5.141 kB / 0.5261 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3734, allocations: 4.734 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.3736, allocations: 207.9 kB / 0.5263 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3736, allocations: 0 / 0.5263 GB, free: 14.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3738, allocations: 27.59 kB / 0.5264 GB, free: 14.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: 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.001077/0.3749, allocations: 464.8 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.3751, allocations: 64.14 kB / 0.5269 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3751, allocations: 0 / 0.5269 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.93e-05/0.3752, allocations: 32.55 kB / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3756, allocations: 26.05 kB / 0.5269 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.3762, allocations: 314.6 kB / 0.5272 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3765, allocations: 0.7217 MB / 0.5279 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.3765, allocations: 21.5 kB / 0.528 GB, free: 13.58 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3765, allocations: 3.938 kB / 0.528 GB, free: 13.58 MB / 398.1 MB Notification: Performance of Templates: time 0.004067/0.3806, allocations: 2.092 MB / 0.53 GB, free: 12.73 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches