Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001503/0.001503, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001859/0.001859, allocations: 167.1 kB / 24.82 MB, free: 8.875 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.9177/0.9177, 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.2284/0.2284, allocations: 32.8 MB / 294.6 MB, free: 1.23 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.501e-05, allocations: 9.266 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002096/0.002111, allocations: 1.63 MB / 378.1 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003204, allocations: 1.266 MB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.003259, allocations: 4 kB / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.003437, allocations: 23.73 kB / 379.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.003672, allocations: 91.48 kB / 379.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.003844, allocations: 91.69 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.003967, allocations: 71.77 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.004048, allocations: 7.984 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.00411, allocations: 35.91 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.004191, allocations: 27.91 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.004206, allocations: 4 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.004316, allocations: 87.88 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.004351, allocations: 15.94 kB / 379.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.004373, allocations: 15.92 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.00454, allocations: 135.5 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004541, allocations: 0 / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.004542, allocations: 0 / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.004545, allocations: 0 / 380 MB, free: 0.8594 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000343/0.004888, allocations: 427.9 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.004919, allocations: 8.031 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.004947, allocations: 12.83 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.005062, allocations: 136.5 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.005071, allocations: 8.375 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.005087, allocations: 4.375 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.00519, allocations: 104 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.005198, allocations: 192 / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.005205, allocations: 4.125 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.00521, allocations: 4 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.00523, allocations: 11.94 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.005441, allocations: 248.4 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.005549, allocations: 39.05 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.005564, allocations: 23.69 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.005581, allocations: 0 / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.005601, allocations: 41.33 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.005602, allocations: 3.938 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002296/0.005831, allocations: 81.66 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.00586, allocations: 81.05 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.005953, allocations: 195.9 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.005962, allocations: 25.7 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.006005, allocations: 150.8 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.006022, allocations: 19.83 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.006048, allocations: 31.36 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.006148, allocations: 0.4923 MB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.006158, allocations: 0 / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.006185, allocations: 53.14 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.006213, allocations: 23.67 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.006213, allocations: 0 / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.913e-05/0.006273, allocations: 61.53 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.006283, allocations: 7.984 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006287, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.006297, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.455e-05/0.006332, allocations: 12 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006335, allocations: 4.031 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.006351, allocations: 0 / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.006358, allocations: 7.984 kB / 382.3 MB, free: 14.34 MB / 362.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 (5): * Single equations (assignments): 5 * 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 5.444e-05/0.006412, allocations: 156.6 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.006432, allocations: 11.89 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.006515, allocations: 66.09 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.006517, allocations: 3.984 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006519, allocations: 0 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.006522, allocations: 0 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.006714, allocations: 298 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006715, allocations: 4 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.00674, allocations: 12.3 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.006741, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.006746, allocations: 4 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006746, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.006749, allocations: 7.938 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.033e-05/0.006839, allocations: 208.1 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.006847, allocations: 3.953 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.006857, allocations: 0 / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.006891, allocations: 7.984 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.006912, allocations: 7.984 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.006914, allocations: 4 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.006964, allocations: 155.1 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006964, allocations: 0 / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.007133, allocations: 35.88 kB / 383.2 MB, free: 13.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008683/0.008001, allocations: 495.5 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.597e-05/0.008067, allocations: 27.61 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.008068, allocations: 0 / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.008085, allocations: 15.69 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.008266, allocations: 31.8 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.008491, allocations: 165.9 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.008522, allocations: 63.3 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.717e-05/0.00856, allocations: 15.97 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.00862, allocations: 86.19 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00862, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of Templates: time 0.003259/0.01188, allocations: 2.018 MB / 386.1 MB, free: 10.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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: 2.6610107701271772]