Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, 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.001312/0.001312, allocations: 180.3 kB / 19.37 MB, free: 3.664 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.338/1.338, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2124/0.2124, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3879, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003167/0.3912, allocations: 1.8 MB / 0.5214 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3928, allocations: 0.9571 MB / 0.5223 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.3929, allocations: 1.469 kB / 0.5223 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.3935, allocations: 298.4 kB / 0.5226 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.394, allocations: 210.4 kB / 0.5228 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.3944, allocations: 170.7 kB / 0.523 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.3948, allocations: 235 kB / 0.5232 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.089e-05/0.3949, allocations: 14.66 kB / 0.5232 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.3951, allocations: 130.9 kB / 0.5233 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.3954, allocations: 186.3 kB / 0.5235 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.3954, allocations: 5.938 kB / 0.5235 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3955, allocations: 48.92 kB / 0.5236 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.3957, allocations: 125 kB / 0.5237 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.3958, allocations: 150.3 kB / 0.5238 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.3963, allocations: 358.4 kB / 0.5242 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3963, allocations: 0.75 kB / 0.5242 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3963, allocations: 5.625 kB / 0.5242 GB, free: 1.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3963, allocations: 0 / 0.5242 GB, free: 1.043 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008725/0.3972, allocations: 0.7101 MB / 0.5249 GB, free: 464 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3973, allocations: 9.484 kB / 0.5249 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.253e-05/0.3974, allocations: 54.09 kB / 0.5249 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.3979, allocations: 445.6 kB / 0.5253 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.398, allocations: 3.609 kB / 0.5254 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.398, allocations: 6.094 kB / 0.5254 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3982, allocations: 86.62 kB / 0.5254 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.3982, allocations: 0.7969 kB / 0.5254 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3982, allocations: 1.375 kB / 0.5254 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3982, allocations: 1.375 kB / 0.5254 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3984, allocations: 33.69 kB / 0.5255 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.3989, allocations: 373.9 kB / 0.5258 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.3991, allocations: 101.1 kB / 0.5259 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.3993, allocations: 46.89 kB / 0.526 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3993, allocations: 1.375 kB / 0.526 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.3995, allocations: 112.5 kB / 0.5261 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3995, allocations: 1.375 kB / 0.5261 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005039/0.4, allocations: 201.9 kB / 0.5263 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.4001, allocations: 78.48 kB / 0.5264 GB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4012, allocations: 1.009 MB / 0.5273 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4013, allocations: 27.08 kB / 0.5274 GB, free: 14.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.4014, allocations: 225 kB / 0.5276 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.4015, allocations: 31.75 kB / 0.5276 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.4016, allocations: 31.33 kB / 0.5276 GB, free: 14.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4017, allocations: 368.7 kB / 0.528 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.4018, allocations: 27.86 kB / 0.528 GB, free: 14.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-05/0.4019, allocations: 58.02 kB / 0.5281 GB, free: 14.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.4021, allocations: 86.66 kB / 0.5282 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4021, allocations: 4 kB / 0.5282 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003058/0.4024, allocations: 169.9 kB / 0.5283 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4025, allocations: 6.688 kB / 0.5283 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4025, allocations: 0 / 0.5283 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4025, allocations: 2.406 kB / 0.5283 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4026, allocations: 25.55 kB / 0.5284 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4026, allocations: 5.094 kB / 0.5284 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.4028, allocations: 21.39 kB / 0.5284 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.4028, allocations: 7.281 kB / 0.5284 GB, free: 14.06 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002301/0.403, allocations: 218.8 kB / 0.5286 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.4031, allocations: 53.3 kB / 0.5286 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/0.4032, allocations: 57.38 kB / 0.5287 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4032, allocations: 2.531 kB / 0.5287 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4032, allocations: 0 / 0.5287 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.4032, allocations: 1.344 kB / 0.5287 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.4036, allocations: 330.6 kB / 0.529 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4036, allocations: 0 / 0.529 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.4036, allocations: 14.8 kB / 0.529 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4036, allocations: 5.266 kB / 0.529 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4037, allocations: 5.125 kB / 0.529 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4037, allocations: 1.156 kB / 0.529 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4037, allocations: 5.125 kB / 0.529 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.404, allocations: 199.5 kB / 0.5292 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.4042, allocations: 137.2 kB / 0.5294 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.4042, allocations: 14.3 kB / 0.5294 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.4043, allocations: 3.469 kB / 0.5294 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.4044, allocations: 7.516 kB / 0.5294 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.4044, allocations: 5.656 kB / 0.5294 GB, free: 13.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008119/0.4052, allocations: 0.7502 MB / 0.5301 GB, free: 12.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4052, allocations: 0 / 0.5301 GB, free: 12.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000287/0.4055, allocations: 40.03 kB / 0.5302 GB, free: 12.89 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009981/0.4065, allocations: 422.4 kB / 0.5306 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.4068, allocations: 82.8 kB / 0.5307 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4068, allocations: 3.938 kB / 0.5307 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.4069, allocations: 39.73 kB / 0.5307 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.4074, allocations: 81.89 kB / 0.5308 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.4087, allocations: 0.8748 MB / 0.5316 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.4092, allocations: 0.8413 MB / 0.5324 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.4093, allocations: 34.11 kB / 0.5325 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4093, allocations: 0 / 0.5325 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Templates: time 0.009583/0.4189, allocations: 4.983 MB / 0.5373 GB, free: 8.723 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches