Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.000986/0.000986, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00158/0.00158, allocations: 165.1 kB / 24.91 MB, free: 8.766 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.418 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.2628/0.2628, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.037e-05, allocations: 4.703 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003385/0.003415, allocations: 1.702 MB / 327.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.004462, allocations: 0.5369 MB / 328.2 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.00452, allocations: 4 kB / 328.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.004827, allocations: 103.5 kB / 328.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.005101, allocations: 103.6 kB / 328.4 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.005375, allocations: 111.5 kB / 328.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.005543, allocations: 91.73 kB / 328.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.005641, allocations: 19.98 kB / 328.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.005723, allocations: 43.89 kB / 328.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.005822, allocations: 55.86 kB / 328.7 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.005835, allocations: 0 / 328.7 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.00594, allocations: 47.92 kB / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.005986, allocations: 15.94 kB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.00602, allocations: 23.84 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.006208, allocations: 91.67 kB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00621, allocations: 4 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.006212, allocations: 0 / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.006216, allocations: 0 / 328.9 MB, free: 4.125 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.0004056/0.006622, allocations: 334.1 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.006659, allocations: 8.031 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.006698, allocations: 12.92 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.006875, allocations: 137.6 kB / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.006884, allocations: 384 / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.006907, allocations: 8.359 kB / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.007017, allocations: 54.95 kB / 329.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.007031, allocations: 4.141 kB / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.007039, allocations: 384 / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.007044, allocations: 384 / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.007077, allocations: 23.86 kB / 329.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.007357, allocations: 171.1 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.618e-05/0.007423, allocations: 37.38 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.007445, allocations: 12.86 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.007464, allocations: 3.938 kB / 329.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.007489, allocations: 30.56 kB / 329.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.007491, allocations: 0 / 329.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000834/0.008325, allocations: 149.5 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.008358, allocations: 55.41 kB / 329.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.008515, allocations: 188.2 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008529, allocations: 29.7 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.008577, allocations: 100 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.008608, allocations: 19.8 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.008651, allocations: 25.69 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.00876, allocations: 322.8 kB / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.008781, allocations: 8 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.753e-05/0.008798, allocations: 4 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.008856, allocations: 39.81 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008857, allocations: 4 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.786e-05/0.008955, allocations: 61.61 kB / 330.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.00897, allocations: 11.94 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.008975, allocations: 0 / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.00899, allocations: 0 / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.009074, allocations: 15.98 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.009078, allocations: 4 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.009108, allocations: 7.984 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.009115, allocations: 0 / 330.8 MB, free: 2.109 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 7.547e-05/0.00919, allocations: 120.6 kB / 330.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.009221, allocations: 11.94 kB / 330.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.009367, allocations: 83.06 kB / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.009371, allocations: 0 / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.009372, allocations: 0 / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.009375, allocations: 0 / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.009711, allocations: 251.5 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.009713, allocations: 0 / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.009775, allocations: 15.94 kB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.009778, allocations: 0 / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.009787, allocations: 7.984 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.00979, allocations: 8.031 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.009792, allocations: 0 / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.009917, allocations: 160.3 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.009933, allocations: 11.91 kB / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.009947, allocations: 0 / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.01001, allocations: 8 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.01004, allocations: 7.984 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.01005, allocations: 3.938 kB / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.335e-05/0.01012, allocations: 59.62 kB / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01012, allocations: 0 / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002571/0.01038, allocations: 23.94 kB / 331.5 MB, free: 1.281 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.002051/0.01243, allocations: 0.572 MB / 332.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.01253, allocations: 28.84 kB / 332.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.01253, allocations: 4 kB / 332.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.01257, allocations: 24.78 kB / 332.2 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.01284, allocations: 23.92 kB / 332.2 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.01333, allocations: 239.8 kB / 332.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.832e-05/0.0134, allocations: 75.27 kB / 332.5 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.01345, allocations: 17.02 kB / 332.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.01353, allocations: 63.44 kB / 332.6 MB, free: 472 kB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01353, allocations: 0 / 332.6 MB, free: 472 kB / 298.7 MB Notification: Performance of Templates: time 0.004342/0.01788, allocations: 1.521 MB / 334.1 MB, free: 14.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.947747757192701]