Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0009804/0.0009804, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001612/0.001612, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9992/0.9992, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2747/0.2747, allocations: 32.81 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.378e-05, allocations: 10.25 kB / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002348/0.002371, allocations: 1.762 MB / 378.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.004038, allocations: 1.718 MB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.004118, allocations: 3.938 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.004366, allocations: 27.84 kB / 380.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.004676, allocations: 115.3 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.00484, allocations: 67.69 kB / 380.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.004986, allocations: 115.6 kB / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.005069, allocations: 8 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.005156, allocations: 59.81 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.00526, allocations: 39.78 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.005278, allocations: 8 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.005424, allocations: 99.81 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.005469, allocations: 27.91 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.005502, allocations: 19.92 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.005722, allocations: 159.5 kB / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.005724, allocations: 0 / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005725, allocations: 3.938 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005729, allocations: 0 / 380.8 MB, free: 56 kB / 346.7 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.0004422/0.006171, allocations: 444 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.006209, allocations: 12.03 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.006245, allocations: 16.89 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.006396, allocations: 153 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.006411, allocations: 384 / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.006429, allocations: 8.375 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.006566, allocations: 107.3 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.006577, allocations: 3.953 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.006586, allocations: 8 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.006591, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.006618, allocations: 11.98 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.006861, allocations: 252.4 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.006953, allocations: 67.02 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.006978, allocations: 19.62 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.006992, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.468e-05/0.007087, allocations: 69.03 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.007088, allocations: 0 / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003026/0.007391, allocations: 133.4 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.007424, allocations: 81.09 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.007559, allocations: 215.9 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.007576, allocations: 33.7 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.007636, allocations: 146.8 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.007665, allocations: 27.78 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.007702, allocations: 27.38 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.007831, allocations: 0.4922 MB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.007856, allocations: 15.92 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.007903, allocations: 68.73 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.007954, allocations: 39.36 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007955, allocations: 4 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001135/0.008068, allocations: 93.55 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.008083, allocations: 4 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.008088, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.008103, allocations: 4 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.008171, allocations: 12 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.008175, allocations: 0 / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.008211, allocations: 7.984 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.008218, allocations: 7.938 kB / 383.3 MB, free: 13.26 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 (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 8.565e-05/0.008304, allocations: 163.9 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.008327, allocations: 15.95 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.008498, allocations: 106.5 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008501, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.008504, allocations: 384 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008508, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.008814, allocations: 365.5 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.008818, allocations: 8 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.008846, allocations: 8 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.008849, allocations: 0 / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.008855, allocations: 0 / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.008857, allocations: 4 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.008861, allocations: 11.95 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.009001, allocations: 247.5 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.009016, allocations: 11.94 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.009033, allocations: 4 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.532e-05/0.009078, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.009107, allocations: 11.98 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.009118, allocations: 4 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.124e-05/0.009179, allocations: 154 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00918, allocations: 0 / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.009402, allocations: 55.8 kB / 384.5 MB, free: 12.04 MB / 362.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: 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 (9): * Single equations (assignments): 7 * 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.001103/0.01051, allocations: 0.5446 MB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.01061, allocations: 47.58 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01061, allocations: 4 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.01065, allocations: 23.67 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01088, allocations: 35.86 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.01119, allocations: 205.9 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.01122, allocations: 67.28 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.593e-05/0.01127, allocations: 25.39 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.01135, allocations: 98.17 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01135, allocations: 0 / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of Templates: time 0.004228/0.01558, allocations: 2.779 MB / 388.3 MB, free: 8.387 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.0083952508866787]