Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 108.1 kB / 18.45 MB, free: 4.578 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.001478/0.001478, allocations: 184.2 kB / 19.38 MB, free: 3.66 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.339/1.339, allocations: 222.9 MB / 243.1 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.2178/0.2178, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.09 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.369, allocations: 60.83 MB / 0.5197 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002975/0.372, allocations: 1.704 MB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3734, allocations: 0.8755 MB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.3735, allocations: 1.219 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.3739, allocations: 82.42 kB / 0.5223 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.3741, allocations: 74.94 kB / 0.5223 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.3745, allocations: 104.8 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3747, allocations: 111.5 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3749, allocations: 15.42 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.375, allocations: 55.38 kB / 0.5226 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3751, allocations: 54.06 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.3751, allocations: 4.094 kB / 0.5227 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.3753, allocations: 46.67 kB / 0.5227 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.3753, allocations: 19.83 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.3754, allocations: 37 kB / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.3756, allocations: 123.6 kB / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3757, allocations: 0 / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3757, allocations: 0 / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3757, allocations: 5.094 kB / 0.5229 GB, free: 1.539 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.0005032/0.3762, allocations: 419.7 kB / 0.5233 GB, free: 1.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3762, allocations: 9.422 kB / 0.5233 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.3763, allocations: 10.97 kB / 0.5233 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3766, allocations: 215.1 kB / 0.5235 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3766, allocations: 5.781 kB / 0.5235 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.3766, allocations: 6.719 kB / 0.5235 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3768, allocations: 53.78 kB / 0.5236 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3768, allocations: 5.094 kB / 0.5236 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3768, allocations: 0.6562 kB / 0.5236 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3768, allocations: 1.281 kB / 0.5236 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.3769, allocations: 18 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.3772, allocations: 292.8 kB / 0.5239 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3774, allocations: 60.02 kB / 0.5239 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.3775, allocations: 20.16 kB / 0.5239 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3775, allocations: 1.625 kB / 0.5239 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.3776, allocations: 69.03 kB / 0.524 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3777, allocations: 1.375 kB / 0.524 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005424/0.3782, allocations: 176.7 kB / 0.5242 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3782, allocations: 57.45 kB / 0.5242 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3784, allocations: 214.6 kB / 0.5244 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3785, allocations: 25.7 kB / 0.5245 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.3785, allocations: 109.4 kB / 0.5246 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.3786, allocations: 26.17 kB / 0.5246 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.3786, allocations: 23.11 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3788, allocations: 329.8 kB / 0.5249 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.3788, allocations: 21.97 kB / 0.5249 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.3789, allocations: 39.69 kB / 0.525 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.379, allocations: 56.25 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.379, allocations: 1.438 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.3792, allocations: 101.3 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3793, allocations: 5.812 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3793, allocations: 0.6094 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3793, allocations: 5.188 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.3794, allocations: 15.83 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3794, allocations: 1.438 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.3795, allocations: 6.109 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.3795, allocations: 2.75 kB / 0.5252 GB, free: 15.52 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.0001093/0.3796, allocations: 133.2 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.3796, allocations: 13.41 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.3797, allocations: 18.05 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3797, allocations: 1.125 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3797, allocations: 4 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3797, allocations: 5.984 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.3802, allocations: 392.3 kB / 0.5257 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3802, allocations: 0 / 0.5257 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.3803, allocations: 9.25 kB / 0.5257 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3803, allocations: 5.75 kB / 0.5257 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3803, allocations: 6.5 kB / 0.5257 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3803, allocations: 1.078 kB / 0.5257 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3803, allocations: 6.109 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.3806, allocations: 216.6 kB / 0.526 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.3806, allocations: 84.62 kB / 0.526 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.3807, allocations: 14.19 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.3807, allocations: 2.703 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.3808, allocations: 6.234 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3808, allocations: 6.812 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3809, allocations: 157.5 kB / 0.5262 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.381, allocations: 0 / 0.5262 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3812, allocations: 26.47 kB / 0.5262 GB, free: 14.61 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.001088/0.3823, allocations: 475.3 kB / 0.5267 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.3825, allocations: 55 kB / 0.5267 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3825, allocations: 1.312 kB / 0.5267 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.3826, allocations: 32.84 kB / 0.5268 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.383, allocations: 30.84 kB / 0.5268 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.3835, allocations: 267.1 kB / 0.5271 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3838, allocations: 0.7052 MB / 0.5277 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.3838, allocations: 17.05 kB / 0.5278 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3839, allocations: 0 / 0.5278 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.004259/0.3881, allocations: 1.971 MB / 0.5297 GB, free: 12.7 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches