Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 85.8 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 162.2 kB / 24.82 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9726/0.9726, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2652/0.2652, allocations: 34.85 MB / 296.6 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.505e-05, allocations: 6.25 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002377/0.002402, allocations: 1.647 MB / 380.9 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007827/0.003185, allocations: 0.5408 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.003257, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.003561, allocations: 123.6 kB / 381.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.003829, allocations: 135.4 kB / 381.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.004062, allocations: 119.6 kB / 381.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.004206, allocations: 95.73 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.004298, allocations: 15.98 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.004367, allocations: 51.88 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.004471, allocations: 87.83 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.004483, allocations: 0 / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.004553, allocations: 51.91 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.004596, allocations: 27.86 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.00462, allocations: 15.88 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.004758, allocations: 103.6 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.004762, allocations: 7.984 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004763, allocations: 4 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.004766, allocations: 0 / 382.3 MB, free: 14.79 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.0003982/0.005164, allocations: 463.7 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.005205, allocations: 12.03 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.005245, allocations: 16.84 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.005367, allocations: 152.3 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.005377, allocations: 4.359 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.005394, allocations: 8.375 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.369e-05/0.005488, allocations: 58.94 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.005497, allocations: 192 / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.005505, allocations: 4.375 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.00551, allocations: 384 / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.005534, allocations: 15.92 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.005783, allocations: 276.3 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.005835, allocations: 39.05 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.005851, allocations: 11.69 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.005871, allocations: 0 / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.00589, allocations: 37.39 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.005891, allocations: 4 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000465/0.006356, allocations: 165.2 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.006382, allocations: 55.41 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.006529, allocations: 270.7 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.006539, allocations: 25.7 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.006603, allocations: 162.8 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.006632, allocations: 35.72 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.006664, allocations: 27.38 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.006792, allocations: 0.5118 MB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.006807, allocations: 4 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.006822, allocations: 8 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.006863, allocations: 35.66 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.006864, allocations: 0 / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.891e-05/0.006953, allocations: 77.7 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.006965, allocations: 8 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.00697, allocations: 80 / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006981, allocations: 0 / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.007045, allocations: 15.98 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.00705, allocations: 3.984 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.007068, allocations: 8 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.007072, allocations: 0 / 384.7 MB, free: 12.11 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 7.438e-05/0.007147, allocations: 160.6 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.00717, allocations: 19.84 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.007303, allocations: 99 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007305, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.007307, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.007311, allocations: 4 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.00759, allocations: 353.5 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.007592, allocations: 4.031 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.007641, allocations: 19.98 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007644, allocations: 4 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.007649, allocations: 0 / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.007652, allocations: 0 / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.007653, allocations: 0 / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.00782, allocations: 243.3 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.007839, allocations: 15.89 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.007854, allocations: 4 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/0.007913, allocations: 4 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.00794, allocations: 4.406 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.007945, allocations: 8 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.955e-05/0.008035, allocations: 184.1 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008035, allocations: 0 / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.008202, allocations: 20 kB / 385.9 MB, free: 10.91 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.0009271/0.009129, allocations: 423.6 kB / 386.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.987e-05/0.009219, allocations: 43.64 kB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009221, allocations: 0 / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.009251, allocations: 35.61 kB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.009478, allocations: 34.78 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.009837, allocations: 271.2 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.56e-05/0.009882, allocations: 75.33 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.786e-05/0.00992, allocations: 12.72 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.009985, allocations: 82.27 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.009987, allocations: 0 / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of Templates: time 0.003368/0.01335, allocations: 1.571 MB / 388.4 MB, free: 8.457 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.9373230412602425]