Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009419/0.0009419, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009015/0.0009015, allocations: 170.5 kB / 24.91 MB, free: 8.68 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.9543/0.9543, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2465/0.2465, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 323.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.671e-05, allocations: 8.031 kB / 323.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001914/0.001931, allocations: 1.648 MB / 324.9 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006841/0.002615, allocations: 0.5335 MB / 325.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.002663, allocations: 0 / 325.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.002886, allocations: 91.58 kB / 325.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.003125, allocations: 111.5 kB / 325.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.003338, allocations: 103.7 kB / 325.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.003463, allocations: 87.73 kB / 325.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.003549, allocations: 19.94 kB / 325.8 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.157e-05/0.003621, allocations: 43.88 kB / 325.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.003702, allocations: 51.88 kB / 325.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.003714, allocations: 8 kB / 325.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.586e-05/0.00378, allocations: 39.98 kB / 326 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.003819, allocations: 19.92 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.00384, allocations: 19.86 kB / 326 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.003963, allocations: 95.59 kB / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.003964, allocations: 0 / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003965, allocations: 0 / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.003968, allocations: 0 / 326.1 MB, free: 6.766 MB / 298.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.0002866/0.004255, allocations: 313.5 kB / 326.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.647e-05/0.004281, allocations: 8.031 kB / 326.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.004307, allocations: 12.92 kB / 326.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.004423, allocations: 147.5 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.004432, allocations: 4.359 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.004452, allocations: 8.312 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.748e-05/0.00454, allocations: 70.84 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004547, allocations: 192 / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.004554, allocations: 4.125 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.004559, allocations: 4 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.964e-05/0.004579, allocations: 8 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.004769, allocations: 171.7 kB / 326.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.887e-05/0.004818, allocations: 37.33 kB / 326.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.301e-05/0.004831, allocations: 8.859 kB / 326.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.004845, allocations: 4 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.004865, allocations: 38.5 kB / 326.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.004866, allocations: 0 / 326.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000362/0.005228, allocations: 145.6 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.005255, allocations: 55.39 kB / 327.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.005355, allocations: 176.8 kB / 327.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.005371, allocations: 25.7 kB / 327.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.005401, allocations: 100.8 kB / 327.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.005423, allocations: 31.73 kB / 327.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.00545, allocations: 25.7 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.005542, allocations: 322.8 kB / 327.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.005555, allocations: 11.94 kB / 327.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.005566, allocations: 4 kB / 327.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.005598, allocations: 27.67 kB / 327.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.005599, allocations: 0 / 327.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.632e-05/0.005655, allocations: 61.59 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.005664, allocations: 8 kB / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.005668, allocations: 0 / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.005678, allocations: 4 kB / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.005731, allocations: 19.92 kB / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.005734, allocations: 0 / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.005751, allocations: 8 kB / 327.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.005755, allocations: 0 / 327.9 MB, free: 4.773 MB / 298.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 8.394e-05/0.005839, allocations: 116.6 kB / 328 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.005858, allocations: 11.92 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.005964, allocations: 79.36 kB / 328.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.005967, allocations: 4 kB / 328.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.005969, allocations: 4 kB / 328.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005972, allocations: 0 / 328.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.006184, allocations: 251.9 kB / 328.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006185, allocations: 3.938 kB / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.006218, allocations: 15.98 kB / 328.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.00622, allocations: 4 kB / 328.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.006225, allocations: 0 / 328.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.006227, allocations: 4 kB / 328.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006228, allocations: 0 / 328.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.212e-05/0.00631, allocations: 168.2 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.00632, allocations: 15.94 kB / 328.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.006332, allocations: 4 kB / 328.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.006364, allocations: 3.984 kB / 328.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.006384, allocations: 4 kB / 328.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.006388, allocations: 4 kB / 328.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.006431, allocations: 59.62 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006431, allocations: 0 / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.00657, allocations: 19.98 kB / 328.7 MB, free: 3.945 MB / 298.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.001172/0.007742, allocations: 0.571 MB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.007818, allocations: 36.72 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.007821, allocations: 0 / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.896e-05/0.00784, allocations: 16.86 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.007984, allocations: 28.36 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.008263, allocations: 231.6 kB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.0083, allocations: 75.28 kB / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.239e-05/0.008332, allocations: 12.72 kB / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.008387, allocations: 55.38 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008388, allocations: 0 / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of Templates: time 0.002997/0.01138, allocations: 1.529 MB / 331.2 MB, free: 1.664 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9641958218999207]