Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 173 kB / 25.61 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9914/0.9914, allocations: 177.1 MB / 206 MB, free: 4.535 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1598/0.1598, allocations: 34.25 MB / 296.8 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.868e-05, allocations: 9.406 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003136/0.003165, allocations: 1.824 MB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004773/0.007937, allocations: 1.064 MB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.00807, allocations: 3.938 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.008619, allocations: 299.2 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.009138, allocations: 259.1 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.009455, allocations: 119.5 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.009793, allocations: 267.2 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.009844, allocations: 5.812 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.01005, allocations: 151.6 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.01029, allocations: 200.1 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.01032, allocations: 8 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.01043, allocations: 39.98 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.01055, allocations: 144.5 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.01064, allocations: 71.67 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.01097, allocations: 282.9 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.01097, allocations: 4 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01097, allocations: 0 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.01098, allocations: 3.938 kB / 384.1 MB, free: 18.61 MB / 314.7 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.000755/0.01174, allocations: 0.7784 MB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.01178, allocations: 12.03 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.01186, allocations: 56.61 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.01219, allocations: 312.7 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.01221, allocations: 384 / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.01222, allocations: 4.375 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.01237, allocations: 102.2 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.01238, allocations: 3.938 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.01239, allocations: 4 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.0124, allocations: 3.984 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.01244, allocations: 11.98 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.01269, allocations: 224.8 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.01284, allocations: 90.16 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.01288, allocations: 31.36 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.01289, allocations: 4 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.01302, allocations: 108.3 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.01303, allocations: 0 / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002949/0.01332, allocations: 169.2 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.01335, allocations: 77.11 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.01391, allocations: 0.6742 MB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.01392, allocations: 33.7 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.01409, allocations: 306.7 kB / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.01413, allocations: 35.78 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.01418, allocations: 39.34 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01431, allocations: 0.5625 MB / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.01434, allocations: 15.92 kB / 387.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/0.01439, allocations: 54.67 kB / 387.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.02e-05/0.01447, allocations: 66.72 kB / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01447, allocations: 0.5 kB / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001872/0.01466, allocations: 149.2 kB / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.01467, allocations: 11.98 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01468, allocations: 0 / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.01469, allocations: 3.938 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.0148, allocations: 24 kB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.0148, allocations: 3.938 kB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-05/0.01488, allocations: 15.88 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.01489, allocations: 4 kB / 388 MB, free: 14.37 MB / 314.7 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 9.196e-05/0.01499, allocations: 161.2 kB / 388.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.01504, allocations: 59.73 kB / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.01528, allocations: 165.8 kB / 388.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.01528, allocations: 3.938 kB / 388.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.01529, allocations: 0 / 388.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.01529, allocations: 4 kB / 388.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.01551, allocations: 221.1 kB / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01551, allocations: 0 / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.01555, allocations: 8 kB / 388.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01556, allocations: 4 kB / 388.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01557, allocations: 4 kB / 388.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.01557, allocations: 4 kB / 388.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.01557, allocations: 7.938 kB / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.01581, allocations: 207.6 kB / 388.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.01586, allocations: 59.55 kB / 388.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.01589, allocations: 256 / 388.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.01593, allocations: 15.98 kB / 388.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.01596, allocations: 15.91 kB / 388.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.01598, allocations: 4 kB / 389 MB, free: 13.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.01616, allocations: 430.7 kB / 389.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01616, allocations: 4 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.01633, allocations: 43.98 kB / 389.4 MB, free: 12.91 MB / 314.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008144/0.01714, allocations: 390.1 kB / 389.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.01725, allocations: 63.66 kB / 389.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01725, allocations: 0 / 389.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.01728, allocations: 39.61 kB / 389.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.01753, allocations: 73.05 kB / 390 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.01811, allocations: 0.6499 MB / 390.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.01817, allocations: 132.1 kB / 390.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.01823, allocations: 38.89 kB / 390.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.01832, allocations: 122.2 kB / 390.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01832, allocations: 4 kB / 390.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of Templates: time 0.006204/0.02452, allocations: 4.371 MB / 395.3 MB, free: 7.168 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2453887602314353]