Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001908/0.001908, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002977/0.002977, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.639/1.639, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4311/0.4311, allocations: 32.8 MB / 293.9 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 179] 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.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.501e-06/5.501e-06, allocations: 4 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.999e-05/4.549e-05, allocations: 9.766 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003507/0.003552, allocations: 1.688 MB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.005529, allocations: 0.9782 MB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.005592, allocations: 0 / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.005902, allocations: 51.7 kB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.006263, allocations: 103.5 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.006467, allocations: 79.66 kB / 378.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.006658, allocations: 103.6 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.006701, allocations: 8.172 kB / 378.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.006824, allocations: 55.81 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.006903, allocations: 23.92 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.006927, allocations: 7.938 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.079e-05/0.007018, allocations: 31.98 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.007108, allocations: 31.91 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.007158, allocations: 19.88 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.007387, allocations: 111.6 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.007392, allocations: 3.984 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.007393, allocations: 0 / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.007398, allocations: 0 / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007034/0.008102, allocations: 475.4 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.008141, allocations: 15.97 kB / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.008206, allocations: 20.78 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.008503, allocations: 161.3 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.00852, allocations: 384 / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.008534, allocations: 4.375 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.008863, allocations: 46.23 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.008876, allocations: 3.938 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.00889, allocations: 4 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.008895, allocations: 4 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.008976, allocations: 11.98 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.009248, allocations: 168.6 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.009447, allocations: 63.03 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.009509, allocations: 23.67 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.009528, allocations: 0 / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.009707, allocations: 69.05 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.009708, allocations: 0 / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003425/0.01005, allocations: 101.5 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.0101, allocations: 51.41 kB / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.01046, allocations: 302.7 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.01048, allocations: 25.7 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.01061, allocations: 174.9 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.01065, allocations: 11.91 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.0107, allocations: 27.38 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003175/0.01102, allocations: 0.5118 MB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.01106, allocations: 8 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.01114, allocations: 39.34 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.01124, allocations: 51.56 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01125, allocations: 0 / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001696/0.01141, allocations: 85.53 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.01143, allocations: 8.031 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.01144, allocations: 7.922 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.01146, allocations: 4 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.01154, allocations: 8 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01155, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.01159, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.0116, allocations: 4 kB / 381.1 MB, free: 14.9 MB / 362.7 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 (7): * Single equations (assignments): 7 * 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.0001377/0.01174, allocations: 164.5 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.01177, allocations: 19.91 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.01201, allocations: 98.7 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.01201, allocations: 4 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01201, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01202, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.01223, allocations: 172.5 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01223, allocations: 4 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.01226, allocations: 4 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.01226, allocations: 0 / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01227, allocations: 3.984 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.01227, allocations: 3.938 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01227, allocations: 0 / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.0125, allocations: 128.3 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.01253, allocations: 19.88 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.01255, allocations: 4.188 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.01259, allocations: 7.938 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.01264, allocations: 7.984 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.01265, allocations: 0 / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.01285, allocations: 204.5 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01285, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.01306, allocations: 20 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002873/0.01593, allocations: 432.3 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.01611, allocations: 55.59 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01611, allocations: 0 / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.01618, allocations: 31.8 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.01649, allocations: 51.69 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.017, allocations: 238.5 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.01712, allocations: 105.7 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.107e-05/0.01717, allocations: 16.53 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.01722, allocations: 16.5 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01722, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of Templates: time 0.005527/0.02275, allocations: 1.652 MB / 384.5 MB, free: 11.55 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.256521822069772]