Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0009913/0.0009913, allocations: 82.59 kB / 21.43 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.001157/0.001157, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.9096/0.9096, allocations: 177 MB / 205.1 MB, free: 5.461 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.2427/0.2427, allocations: 34.86 MB / 296.6 MB, free: 432 kB / 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.CombiTable1Ds.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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 379.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.303e-05, allocations: 7.234 kB / 379.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002511/0.002534, allocations: 1.644 MB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003605, allocations: 0.533 MB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.003691, allocations: 0 / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.003999, allocations: 71.7 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.004285, allocations: 103.5 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.004526, allocations: 99.56 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.004679, allocations: 91.73 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.004766, allocations: 8 kB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.004842, allocations: 51.88 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.558e-05/0.004938, allocations: 51.88 kB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.004951, allocations: 4 kB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.005037, allocations: 47.86 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.005081, allocations: 19.92 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.005107, allocations: 19.92 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.005257, allocations: 87.66 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.00526, allocations: 0 / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005261, allocations: 0 / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.005264, allocations: 0 / 382.1 MB, free: 14.93 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.0003651/0.005629, allocations: 443.9 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.005663, allocations: 8.031 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.005698, allocations: 20.78 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.00582, allocations: 145.1 kB / 382.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.005828, allocations: 384 / 382.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.005847, allocations: 8.375 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.005939, allocations: 54.94 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.005947, allocations: 192 / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.005954, allocations: 4.375 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.00596, allocations: 4.375 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.005985, allocations: 15.92 kB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.006238, allocations: 264.3 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/0.006297, allocations: 47.03 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.006314, allocations: 11.69 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.006335, allocations: 96 / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.006362, allocations: 41.31 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.006364, allocations: 3.984 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004751/0.006839, allocations: 153.3 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.006863, allocations: 55.41 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.006997, allocations: 238.3 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.007007, allocations: 29.69 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.007072, allocations: 162.8 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.007097, allocations: 31.72 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.007134, allocations: 23.38 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.007253, allocations: 0.504 MB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.00727, allocations: 7.984 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.007284, allocations: 4 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.35e-05/0.007328, allocations: 31.67 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.007329, allocations: 7.938 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.682e-05/0.007426, allocations: 73.8 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.007439, allocations: 8 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.007443, allocations: 0 / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.007453, allocations: 0 / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.007519, allocations: 12 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007524, allocations: 4.062 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.007548, allocations: 7.984 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.007553, allocations: 0 / 384.5 MB, free: 12.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 (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.764e-05/0.007621, allocations: 164.5 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.00765, allocations: 19.84 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.007897, allocations: 79.14 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.007902, allocations: 4 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007905, allocations: 3.984 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.007907, allocations: 0 / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.0082, allocations: 345.6 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008202, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.008248, allocations: 19.98 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.008251, allocations: 0 / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.008256, allocations: 0 / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.008258, allocations: 7.969 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.00826, allocations: 4 kB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.008388, allocations: 231.5 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.008401, allocations: 15.84 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.008414, allocations: 4 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.949e-05/0.008464, allocations: 0 / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.008488, allocations: 7.984 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.008494, allocations: 8 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.807e-05/0.008562, allocations: 159.1 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008562, allocations: 0 / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.008789, allocations: 23.98 kB / 385.5 MB, free: 11.19 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.0009638/0.009753, allocations: 431.8 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.677e-05/0.00984, allocations: 35.66 kB / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009841, allocations: 0 / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.009873, allocations: 27.61 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01013, allocations: 31.92 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.01046, allocations: 225.9 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.258e-05/0.0105, allocations: 71.33 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.717e-05/0.01054, allocations: 12.72 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.01059, allocations: 78.2 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0106, allocations: 0 / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003258/0.01385, allocations: 1.519 MB / 387.9 MB, free: 8.855 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.877590417396277]