Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001012/0.001012, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009758/0.0009758, allocations: 161 kB / 24.56 MB, free: 16 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.9529/0.9529, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2459/0.2459, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test15,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.18e-05, allocations: 9.688 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002479/0.0025, allocations: 1.657 MB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000625/0.003125, allocations: 0.5492 MB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.003175, allocations: 0 / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.00341, allocations: 79.7 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.003648, allocations: 111.5 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.003842, allocations: 107.6 kB / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.003969, allocations: 83.75 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.004057, allocations: 15.98 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.004127, allocations: 51.83 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.375e-05/0.00421, allocations: 51.86 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.004224, allocations: 8 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.004306, allocations: 43.92 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.004352, allocations: 23.92 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.004379, allocations: 15.92 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.004518, allocations: 87.67 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.00452, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00452, allocations: 3.938 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.004525, allocations: 4 kB / 380.9 MB, free: 15.73 MB / 362.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.0003583/0.004883, allocations: 443.9 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.004915, allocations: 8.031 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.004952, allocations: 16.84 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.005081, allocations: 149.1 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.005089, allocations: 384 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.005112, allocations: 8.375 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.005213, allocations: 58.94 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.005221, allocations: 4.188 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.00523, allocations: 4.125 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.005238, allocations: 0 / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.498e-05/0.005273, allocations: 15.92 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.005544, allocations: 295.7 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.005602, allocations: 43.05 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.005623, allocations: 19.62 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.005642, allocations: 4 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.005658, allocations: 37.33 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005659, allocations: 0 / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000479/0.006138, allocations: 173.7 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.006164, allocations: 55.41 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.006304, allocations: 246.3 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.006312, allocations: 25.7 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.006366, allocations: 154.9 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.006388, allocations: 27.75 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.006419, allocations: 31.36 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.006522, allocations: 0.5 MB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.006543, allocations: 12 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.006563, allocations: 15.98 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.672e-05/0.00661, allocations: 35.62 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006611, allocations: 0 / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.277e-05/0.006693, allocations: 73.66 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.006705, allocations: 8 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006709, allocations: 0 / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.00672, allocations: 4 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.006791, allocations: 19.98 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.006795, allocations: 0 / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.006813, allocations: 4 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.006818, allocations: 0 / 383.4 MB, free: 13.07 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 (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 6.139e-05/0.00688, allocations: 172.4 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.006903, allocations: 15.91 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.007024, allocations: 79.45 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.007025, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.007028, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007031, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.007307, allocations: 389 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007308, allocations: 0 / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.007345, allocations: 19.92 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007347, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.007354, allocations: 4 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.007355, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007356, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.007472, allocations: 235.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.007481, allocations: 15.98 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.007492, allocations: 4 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.249e-05/0.007525, allocations: 3.984 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.007552, allocations: 11.88 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.007557, allocations: 7.984 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.651e-05/0.007624, allocations: 175.1 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007624, allocations: 0 / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.007781, allocations: 19.94 kB / 384.5 MB, free: 11.85 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: 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.000904/0.008685, allocations: 438.7 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.474e-05/0.00878, allocations: 39.66 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008781, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.008812, allocations: 35.61 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.009015, allocations: 23.45 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.009332, allocations: 237.8 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.00937, allocations: 71.34 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.076e-05/0.009411, allocations: 29 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.009439, allocations: 16.5 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00944, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003138/0.01258, allocations: 1.396 MB / 386.8 MB, free: 9.691 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.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.2649499238468707]