Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.0009989/0.0009989, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001199/0.001199, allocations: 165.4 kB / 24.56 MB, free: 8 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 0.9511/0.9511, allocations: 177.1 MB / 205 MB, free: 5.285 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.2766/0.2766, allocations: 32.81 MB / 294.3 MB, free: 1.246 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.396e-05, allocations: 6.25 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002481/0.002505, allocations: 1.766 MB / 377.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.004257, allocations: 1.738 MB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.00436, allocations: 0 / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.004686, allocations: 35.77 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.005075, allocations: 111.3 kB / 379.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.005316, allocations: 75.66 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.005499, allocations: 115.6 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.005594, allocations: 4 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.005683, allocations: 71.81 kB / 380 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.0058, allocations: 35.89 kB / 380.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.00582, allocations: 4 kB / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.006009, allocations: 107.8 kB / 380.2 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.006062, allocations: 27.86 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.006104, allocations: 27.91 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.00636, allocations: 163.5 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.006363, allocations: 0 / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006365, allocations: 3.938 kB / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.006369, allocations: 3.938 kB / 380.4 MB, free: 296 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005702/0.00694, allocations: 463.7 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.006979, allocations: 8.031 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.00704, allocations: 8.891 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.007253, allocations: 164.3 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.007274, allocations: 384 / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.007298, allocations: 4.375 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.007477, allocations: 119.9 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.007489, allocations: 3.938 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.007499, allocations: 0 / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.007507, allocations: 0 / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.704e-05/0.007554, allocations: 19.98 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.007892, allocations: 295.7 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.008026, allocations: 59.11 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.008062, allocations: 31.55 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.008076, allocations: 3.984 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.008188, allocations: 69.05 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.008189, allocations: 0 / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004789/0.008668, allocations: 177.4 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.008717, allocations: 77.11 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.008866, allocations: 222.5 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.008885, allocations: 29.7 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.008952, allocations: 146.9 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.009306, allocations: 35.67 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.009344, allocations: 31.38 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.009454, allocations: 0.4923 MB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.009483, allocations: 15.98 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.009535, allocations: 68.75 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.009599, allocations: 59.3 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.0096, allocations: 4.031 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001225/0.009723, allocations: 101.5 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.009739, allocations: 6.5 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.009744, allocations: 0 / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.009759, allocations: 4 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.009834, allocations: 15.98 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009839, allocations: 480 / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.009868, allocations: 4 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.009876, allocations: 8 kB / 383.1 MB, free: 13.33 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 (11): * Single equations (assignments): 11 * 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 7.474e-05/0.009951, allocations: 168.5 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.009972, allocations: 23.83 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.01014, allocations: 118.4 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01014, allocations: 0 / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.01015, allocations: 4 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01015, allocations: 0 / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.01045, allocations: 413 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01045, allocations: 0 / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.01049, allocations: 19.92 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01049, allocations: 0 / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.0105, allocations: 8.031 kB / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.0105, allocations: 0 / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.0105, allocations: 0 / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.01066, allocations: 275.4 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.01067, allocations: 11.91 kB / 384.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01069, allocations: 8 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.01073, allocations: 4 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.01076, allocations: 11.92 kB / 384.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.01078, allocations: 8 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.308e-05/0.01085, allocations: 171.9 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01085, allocations: 0 / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.01105, allocations: 55.86 kB / 384.4 MB, free: 11.97 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 (11): * Single equations (assignments): 9 * 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.001041/0.0121, allocations: 0.5456 MB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.01223, allocations: 59.61 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01224, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.01228, allocations: 43.59 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.01248, allocations: 23.98 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.01281, allocations: 222.1 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.556e-05/0.01284, allocations: 67.34 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.499e-05/0.01289, allocations: 20.62 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.01293, allocations: 32.42 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01293, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.00507/0.018, allocations: 2.907 MB / 388.3 MB, free: 8.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.0090714930556715]