Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001419/0.001419, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001284/0.001284, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.05/1.05, allocations: 177 MB / 205.2 MB, free: 5.035 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.2838/0.2838, allocations: 34.86 MB / 296.6 MB, free: 468 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.082e-05, allocations: 5.406 kB / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003758/0.003789, allocations: 1.701 MB / 327.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.005903, allocations: 1.308 MB / 329 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/0.005996, allocations: 0 / 329 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.00628, allocations: 27.8 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.006661, allocations: 80.75 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.007064, allocations: 111.6 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.007271, allocations: 79.81 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.007391, allocations: 15.92 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.00748, allocations: 51.83 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.007599, allocations: 27.91 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.007619, allocations: 7.938 kB / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.007836, allocations: 95.88 kB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.007886, allocations: 15.92 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.007922, allocations: 23.92 kB / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.008193, allocations: 143.5 kB / 329.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.008198, allocations: 0 / 329.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.008198, allocations: 0 / 329.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.008203, allocations: 0 / 329.6 MB, free: 3.418 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004325/0.008636, allocations: 306.4 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.008674, allocations: 16.02 kB / 330 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.008715, allocations: 4.938 kB / 330 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.008897, allocations: 142.9 kB / 330.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.008908, allocations: 4.312 kB / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.008933, allocations: 8.375 kB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.009141, allocations: 102.3 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.009167, allocations: 4.172 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.009186, allocations: 384 / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.009192, allocations: 4.375 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.108e-05/0.009243, allocations: 15.88 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.009572, allocations: 183.1 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.201e-05/0.009634, allocations: 38.55 kB / 330.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.009655, allocations: 12.98 kB / 330.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.009681, allocations: 4.031 kB / 330.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.009707, allocations: 34.56 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.512e-06/0.009709, allocations: 0 / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003645/0.01007, allocations: 109.4 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.01011, allocations: 81.11 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.01022, allocations: 146 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.01024, allocations: 29.7 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.01027, allocations: 92.12 kB / 331 MB, free: 1.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.0103, allocations: 31.72 kB / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.01035, allocations: 25.66 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.01044, allocations: 318.8 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.01047, allocations: 11.98 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.0105, allocations: 47.41 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.01054, allocations: 27.67 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.01054, allocations: 3.938 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.921e-05/0.01061, allocations: 65.59 kB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01062, allocations: 4 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01063, allocations: 4.031 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.01064, allocations: 0 / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.01071, allocations: 16.38 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01072, allocations: 3.984 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.01074, allocations: 4 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.01074, allocations: 4 kB / 331.5 MB, free: 1.359 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 5.749e-05/0.0108, allocations: 116.6 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.01082, allocations: 15.92 kB / 331.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.01094, allocations: 74.69 kB / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01094, allocations: 0 / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01094, allocations: 4 kB / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01094, allocations: 3.984 kB / 331.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.01117, allocations: 242.6 kB / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01117, allocations: 0 / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.01121, allocations: 15.98 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01121, allocations: 0 / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.01121, allocations: 0 / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01121, allocations: 0 / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01122, allocations: 0 / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.75e-05/0.01131, allocations: 163.4 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.01132, allocations: 19.94 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.01133, allocations: 0 / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.01137, allocations: 4 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.01139, allocations: 7.984 kB / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.0114, allocations: 7.938 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.01143, allocations: 33.38 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01143, allocations: 0 / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.0116, allocations: 43.86 kB / 332.2 MB, free: 0.5586 MB / 298.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 (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.001424/0.01303, allocations: 0.6117 MB / 332.9 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.953e-05/0.01311, allocations: 36.78 kB / 332.9 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01311, allocations: 0 / 332.9 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.189e-05/0.01313, allocations: 24.84 kB / 332.9 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.01329, allocations: 23.92 kB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.01359, allocations: 187.1 kB / 333.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.01363, allocations: 63.34 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.528e-05/0.01367, allocations: 17.02 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.01373, allocations: 75.3 kB / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01374, allocations: 0 / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of Templates: time 0.003771/0.01751, allocations: 2.121 MB / 335.4 MB, free: 13.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.039295420050621]