Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0009955/0.0009955, allocations: 81.97 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.001223/0.001223, allocations: 165.5 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.9594/0.9594, allocations: 177.1 MB / 206 MB, free: 4.473 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.1503/0.1503, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.013e-05, allocations: 6.25 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002016/0.002036, allocations: 1.638 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006434/0.002679, allocations: 0.5336 MB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.00274, allocations: 4 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.00298, allocations: 87.62 kB / 379.5 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.003234, allocations: 119.5 kB / 379.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.003463, allocations: 91.7 kB / 379.7 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.003605, allocations: 91.69 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.00369, allocations: 15.97 kB / 379.9 MB, free: 22.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.003744, allocations: 39.91 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.608e-05/0.00382, allocations: 55.86 kB / 379.9 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.003833, allocations: 4 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.256e-05/0.003905, allocations: 43.92 kB / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.003945, allocations: 23.91 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.003966, allocations: 15.94 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.004104, allocations: 103.5 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004105, allocations: 0 / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004107, allocations: 0 / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004111, allocations: 0 / 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.0002848/0.004396, allocations: 451.8 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.004425, allocations: 11.98 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.004458, allocations: 12.89 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.004561, allocations: 148.4 kB / 380.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.00457, allocations: 12.38 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.004586, allocations: 384 / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.845e-05/0.004664, allocations: 58.88 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.004673, allocations: 8.188 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.00468, allocations: 8.125 kB / 380.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.004684, allocations: 0 / 380.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.004704, allocations: 4 kB / 380.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.004895, allocations: 268.4 kB / 381.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.004941, allocations: 50.89 kB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.004955, allocations: 11.69 kB / 381.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.004974, allocations: 8.078 kB / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.004989, allocations: 37.33 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.00499, allocations: 0 / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004937/0.005484, allocations: 157.4 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.00551, allocations: 51.41 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.005611, allocations: 242.3 kB / 381.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.005618, allocations: 29.7 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.005662, allocations: 158.8 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.005687, allocations: 27.73 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.005721, allocations: 31.36 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.005783, allocations: 0.5001 MB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.005798, allocations: 11.94 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.005813, allocations: 16.05 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.005851, allocations: 27.69 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005853, allocations: 3.938 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.046e-05/0.005933, allocations: 69.62 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.005946, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.005951, allocations: 0 / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.005959, allocations: 0 / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.006023, allocations: 23.92 kB / 382.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.006026, allocations: 0 / 382.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.006045, allocations: 4 kB / 382.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.006051, allocations: 8 kB / 382.5 MB, free: 20.09 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.849e-05/0.0061, allocations: 160.5 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.006122, allocations: 15.91 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.006226, allocations: 79.14 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006227, allocations: 0 / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.006229, allocations: 0 / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.006233, allocations: 4 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.006462, allocations: 357.4 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006464, allocations: 0 / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.006505, allocations: 24.02 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.006508, allocations: 4 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.006513, allocations: 0 / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006514, allocations: 0 / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006515, allocations: 4 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.555e-05/0.006601, allocations: 235.8 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.00661, allocations: 7.953 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.006622, allocations: 7.984 kB / 383.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.223e-05/0.006654, allocations: 0 / 383.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.006681, allocations: 11.98 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.006686, allocations: 8 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.773e-05/0.006734, allocations: 163.1 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006734, allocations: 4 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.006901, allocations: 19.94 kB / 383.6 MB, free: 18.93 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.0008802/0.007782, allocations: 429.5 kB / 384.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.115e-05/0.007873, allocations: 51.58 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007874, allocations: 0 / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.045e-05/0.007895, allocations: 19.69 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.008099, allocations: 22.89 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.00839, allocations: 243.7 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.854e-05/0.008419, allocations: 71.2 kB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.008452, allocations: 17.02 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.008495, allocations: 82.19 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.008496, allocations: 0 / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of Templates: time 0.003038/0.01153, allocations: 1.539 MB / 386.1 MB, free: 16.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.1918487921357155]