Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.0008182/0.0008182, allocations: 80.41 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.0009626/0.0009626, allocations: 167.1 kB / 25.61 MB, free: 8.582 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.9835/0.9835, allocations: 177.1 MB / 206.1 MB, free: 4.504 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.1719/0.1719, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.372e-05, allocations: 6.25 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002245/0.002269, allocations: 1.649 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006706/0.00294, allocations: 0.5297 MB / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.003007, allocations: 0 / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.003258, allocations: 83.58 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.003502, allocations: 107.5 kB / 379.6 MB, free: 23.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.003723, allocations: 107.7 kB / 379.8 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.003861, allocations: 95.73 kB / 379.8 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.003958, allocations: 4 kB / 379.9 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.846e-05/0.004027, allocations: 55.88 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.004111, allocations: 47.88 kB / 380 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.004124, allocations: 4 kB / 380 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.916e-05/0.004194, allocations: 43.92 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.004235, allocations: 31.86 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.004258, allocations: 11.92 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.004386, allocations: 99.59 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.004387, allocations: 0 / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004388, allocations: 0 / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.004392, allocations: 4 kB / 380.1 MB, free: 22.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003134/0.004706, allocations: 439.9 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.004745, allocations: 11.98 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.00478, allocations: 24.78 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.004883, allocations: 141.1 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.004893, allocations: 4.375 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.004908, allocations: 384 / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.5e-05/0.004983, allocations: 62.88 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.004993, allocations: 4.188 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.005, allocations: 4.125 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005005, allocations: 0 / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.005028, allocations: 15.97 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.005243, allocations: 264.4 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.89e-05/0.005292, allocations: 47.08 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.005306, allocations: 15.67 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.005319, allocations: 0 / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.005334, allocations: 37.33 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.005335, allocations: 0 / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004136/0.005748, allocations: 157.7 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.005771, allocations: 51.41 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.005862, allocations: 238.8 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.005868, allocations: 25.7 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.005904, allocations: 162.8 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.005925, allocations: 27.73 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.005953, allocations: 31.36 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.006003, allocations: 0.5001 MB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.006015, allocations: 7.938 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.006028, allocations: 16.05 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.00606, allocations: 23.69 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006062, allocations: 7.938 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.559e-05/0.006137, allocations: 73.62 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.006148, allocations: 4 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006152, allocations: 0 / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.006161, allocations: 0 / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.006217, allocations: 23.86 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.006219, allocations: 0 / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.006237, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.006243, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.306e-05/0.006286, allocations: 160.5 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.006307, allocations: 19.91 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.006405, allocations: 83.12 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006407, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.006409, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006412, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.006626, allocations: 353.5 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006628, allocations: 0 / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.00666, allocations: 19.98 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.006662, allocations: 0 / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.006668, allocations: 8 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006669, allocations: 4.031 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.00667, allocations: 0 / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.772e-05/0.006748, allocations: 239.8 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.006756, allocations: 11.91 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.006768, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.0068, allocations: 11.98 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.006822, allocations: 0 / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.006826, allocations: 7.984 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.928e-05/0.006865, allocations: 163.1 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006865, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.007028, allocations: 23.94 kB / 383.6 MB, free: 18.96 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000848/0.007876, allocations: 430.3 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.098e-05/0.007957, allocations: 39.61 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.007958, allocations: 3.938 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.007981, allocations: 27.66 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.008181, allocations: 25.33 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.008438, allocations: 239.8 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.686e-05/0.008465, allocations: 71.2 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.098e-05/0.008496, allocations: 17.02 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.008539, allocations: 82.19 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008539, allocations: 0 / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of Templates: time 0.002821/0.01136, allocations: 1.553 MB / 386.1 MB, free: 16.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.125659646000713]