Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 109.6 kB / 18.45 MB, free: 4.621 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.001339/0.001339, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.288/1.288, 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.2056/0.2056, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 71.81 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3959, allocations: 60.81 MB / 0.5196 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002915/0.3988, allocations: 1.714 MB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.4002, allocations: 0.8775 MB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.4003, allocations: 0 / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.4006, allocations: 47.23 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.4009, allocations: 64.12 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.4012, allocations: 109 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.4013, allocations: 96.77 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4015, allocations: 7.266 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.4016, allocations: 46.59 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.4016, allocations: 28.66 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.4017, allocations: 4.125 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.4018, allocations: 46.58 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.4019, allocations: 28.45 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.4019, allocations: 41.38 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.4021, allocations: 134.7 kB / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4022, allocations: 0 / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4022, allocations: 0 / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4022, allocations: 0 / 0.5228 GB, free: 1.543 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.0004967/0.4027, allocations: 434.9 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4027, allocations: 9.188 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.4028, allocations: 14.25 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.403, allocations: 223.4 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.403, allocations: 5.469 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.4031, allocations: 6.953 kB / 0.5235 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.4032, allocations: 58.45 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4032, allocations: 0 / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4032, allocations: 1.094 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4033, allocations: 1.188 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.4034, allocations: 17.66 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.4038, allocations: 294.1 kB / 0.5238 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.404, allocations: 72.34 kB / 0.5239 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.4041, allocations: 20.47 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.4041, allocations: 0.7031 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.4043, allocations: 66.41 kB / 0.524 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4043, allocations: 4 kB / 0.524 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005317/0.4048, allocations: 182.5 kB / 0.5241 GB, free: 340 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.4048, allocations: 56.5 kB / 0.5242 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.4051, allocations: 259.2 kB / 0.5244 GB, free: 124 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.4051, allocations: 32.03 kB / 0.5245 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.4052, allocations: 113.2 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.4052, allocations: 26.67 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.4053, allocations: 22.33 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4054, allocations: 336.7 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.4055, allocations: 17.72 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.4055, allocations: 39.77 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.4057, allocations: 61.62 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4057, allocations: 0 / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000193/0.4059, allocations: 114.3 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4059, allocations: 5.297 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4059, allocations: 1.188 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4059, allocations: 1.25 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.406, allocations: 15.59 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.406, allocations: 1.438 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.4061, allocations: 10.72 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4061, allocations: 2.75 kB / 0.5252 GB, free: 15.46 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.0001145/0.4062, allocations: 136.9 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.4063, allocations: 20.06 kB / 0.5254 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.4063, allocations: 18.89 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4063, allocations: 1.312 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4063, allocations: 1.094 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4063, allocations: 4.781 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.4068, allocations: 402.5 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4068, allocations: 0.6094 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.4069, allocations: 8.609 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.4069, allocations: 6.469 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4069, allocations: 5.062 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4069, allocations: 6.062 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4069, allocations: 0 / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.4072, allocations: 207.4 kB / 0.526 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.4072, allocations: 89.3 kB / 0.5261 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.4073, allocations: 5.609 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.4073, allocations: 6.422 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.4074, allocations: 14.75 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.4074, allocations: 3.719 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.4076, allocations: 200.1 kB / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4076, allocations: 0 / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.4079, allocations: 27.47 kB / 0.5263 GB, free: 14.54 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.001052/0.4089, allocations: 470.4 kB / 0.5268 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4091, allocations: 62.33 kB / 0.5268 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4091, allocations: 0 / 0.5268 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.4092, allocations: 30.77 kB / 0.5269 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4096, allocations: 39.27 kB / 0.5269 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.4101, allocations: 301.4 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.4104, allocations: 0.7169 MB / 0.5279 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.4104, allocations: 19.91 kB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4105, allocations: 1.375 kB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of Templates: time 0.003968/0.4144, allocations: 2.056 MB / 0.5299 GB, free: 12.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches