Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 109.4 kB / 18.45 MB, free: 4.609 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.001764/0.001764, allocations: 190.2 kB / 19.38 MB, free: 3.684 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.332/1.332, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.212/0.212, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.89 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3411, allocations: 60.81 MB / 0.5196 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003028/0.3442, allocations: 1.718 MB / 0.5213 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3456, allocations: 0.8721 MB / 0.5222 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.3457, allocations: 5.094 kB / 0.5222 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.346, allocations: 37.84 kB / 0.5222 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.3463, allocations: 66.09 kB / 0.5223 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.3466, allocations: 109.7 kB / 0.5224 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.3468, allocations: 88.19 kB / 0.5225 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3469, allocations: 19.94 kB / 0.5225 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.347, allocations: 49.81 kB / 0.5225 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.3471, allocations: 25.05 kB / 0.5226 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3471, allocations: 4.312 kB / 0.5226 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3472, allocations: 42.56 kB / 0.5226 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.3473, allocations: 24.94 kB / 0.5226 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.3473, allocations: 37.61 kB / 0.5227 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3475, allocations: 120.2 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3476, allocations: 0.7969 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3476, allocations: 1.031 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3476, allocations: 3.938 kB / 0.5228 GB, free: 1.363 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.0005067/0.3481, allocations: 429.5 kB / 0.5232 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3481, allocations: 9.219 kB / 0.5232 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.3482, allocations: 14.45 kB / 0.5232 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3485, allocations: 208.8 kB / 0.5234 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3485, allocations: 5.438 kB / 0.5234 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3485, allocations: 7.312 kB / 0.5234 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3487, allocations: 53.25 kB / 0.5235 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3487, allocations: 0 / 0.5235 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3487, allocations: 5.984 kB / 0.5235 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3487, allocations: 5.75 kB / 0.5235 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.3488, allocations: 17.8 kB / 0.5235 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.3492, allocations: 289 kB / 0.5238 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3493, allocations: 61.25 kB / 0.5238 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3494, allocations: 27.38 kB / 0.5239 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3494, allocations: 1.828 kB / 0.5239 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.3496, allocations: 65.05 kB / 0.5239 GB, free: 268 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3496, allocations: 0 / 0.5239 GB, free: 268 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005427/0.3501, allocations: 179 kB / 0.5241 GB, free: 176 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3502, allocations: 56.5 kB / 0.5241 GB, free: 108 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.3504, allocations: 222.5 kB / 0.5244 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3505, allocations: 31.31 kB / 0.5244 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3505, allocations: 106.6 kB / 0.5245 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.3506, allocations: 24.73 kB / 0.5245 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.3506, allocations: 22.11 kB / 0.5245 GB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3507, allocations: 331.5 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.3508, allocations: 25.05 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.3509, allocations: 43.3 kB / 0.5249 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.351, allocations: 58.38 kB / 0.525 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.351, allocations: 0 / 0.525 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001993/0.3512, allocations: 106.6 kB / 0.5251 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3513, allocations: 4.344 kB / 0.5251 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3513, allocations: 1.031 kB / 0.5251 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3513, allocations: 1.688 kB / 0.5251 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.3514, allocations: 20.47 kB / 0.5251 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3514, allocations: 4.031 kB / 0.5251 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.3515, allocations: 7.172 kB / 0.5251 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3515, allocations: 3 kB / 0.5251 GB, free: 15.32 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.0001059/0.3516, allocations: 133.9 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3516, allocations: 13.88 kB / 0.5253 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.3517, allocations: 18.45 kB / 0.5253 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3517, allocations: 1.875 kB / 0.5253 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3517, allocations: 4.688 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3517, allocations: 7.938 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.3522, allocations: 390.8 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.3522, allocations: 0.75 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.3522, allocations: 12.31 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3522, allocations: 1.156 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3522, allocations: 11.16 kB / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3523, allocations: 0 / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3523, allocations: 1.656 kB / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.3525, allocations: 200.6 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.3526, allocations: 90.22 kB / 0.526 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.3526, allocations: 6.531 kB / 0.526 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.3527, allocations: 1.859 kB / 0.526 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.3527, allocations: 14.05 kB / 0.526 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3527, allocations: 5.25 kB / 0.526 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3529, allocations: 177.8 kB / 0.5262 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3529, allocations: 0 / 0.5262 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3532, allocations: 23.88 kB / 0.5262 GB, free: 14.41 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.001073/0.3542, allocations: 475.8 kB / 0.5266 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.3544, allocations: 60.25 kB / 0.5267 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3545, allocations: 0 / 0.5267 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.3545, allocations: 30.22 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3549, allocations: 28.67 kB / 0.5267 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.3554, allocations: 281.2 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.3557, allocations: 0.7172 MB / 0.5277 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.3557, allocations: 21.33 kB / 0.5277 GB, free: 13.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3557, allocations: 0 / 0.5277 GB, free: 13.23 MB / 398.1 MB Notification: Performance of Templates: time 0.004097/0.3598, allocations: 1.98 MB / 0.5297 GB, free: 12.53 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches