Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001125/0.001125, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001314/0.001314, allocations: 161.5 kB / 25.61 MB, free: 8.582 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.064/1.064, allocations: 177 MB / 205.9 MB, free: 4.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.1832/0.1832, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.664e-05, allocations: 3.812 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.001804/0.001821, allocations: 1.679 MB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006559/0.002477, allocations: 0.5486 MB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.002529, allocations: 0 / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.002766, allocations: 103.5 kB / 382.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.002972, allocations: 115.5 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.003157, allocations: 111.7 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.00328, allocations: 107.7 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.003372, allocations: 16 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.003429, allocations: 55.88 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.003503, allocations: 63.84 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.003516, allocations: 4 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.00358, allocations: 51.86 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.00362, allocations: 23.92 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.003644, allocations: 19.92 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.003772, allocations: 111.5 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003774, allocations: 4 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003774, allocations: 0 / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.003779, allocations: 7.984 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002998/0.004079, allocations: 467.7 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.004108, allocations: 12.03 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.00414, allocations: 16.84 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.00424, allocations: 152.3 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.004248, allocations: 8.359 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.004265, allocations: 8.375 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.29e-05/0.004348, allocations: 66.94 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.004357, allocations: 4.188 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.004364, allocations: 4.375 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.004368, allocations: 4.375 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.004396, allocations: 15.92 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.004615, allocations: 304.2 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.566e-05/0.004671, allocations: 51.05 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.004689, allocations: 15.67 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.004705, allocations: 7.938 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.004721, allocations: 41.33 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.004723, allocations: 4 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005135/0.005237, allocations: 213.5 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.005262, allocations: 59.41 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.005372, allocations: 244.1 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.005382, allocations: 37.58 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.005425, allocations: 154.8 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.005455, allocations: 55.52 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.005487, allocations: 35.36 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.005562, allocations: 0.5039 MB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.005583, allocations: 15.98 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.005603, allocations: 11.98 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.005656, allocations: 47.3 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005657, allocations: 0 / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001055/0.005762, allocations: 97.59 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.005776, allocations: 6.188 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.005781, allocations: 0 / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.005792, allocations: 0 / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.005876, allocations: 31.92 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.005879, allocations: 0 / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.005903, allocations: 15.98 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.00591, allocations: 4 kB / 385.7 MB, free: 16.84 MB / 314.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 (13): * Single equations (assignments): 13 * 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.986e-05/0.00597, allocations: 164.5 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.005995, allocations: 23.91 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.006149, allocations: 115.7 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006151, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.006153, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.006157, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.006447, allocations: 409.4 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.006451, allocations: 4 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.0065, allocations: 23.92 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.006503, allocations: 4 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.00651, allocations: 0 / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.006512, allocations: 4 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.006513, allocations: 0 / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.006633, allocations: 259.5 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.006649, allocations: 15.89 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.006664, allocations: 0 / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.006702, allocations: 11.98 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.006738, allocations: 15.95 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.006744, allocations: 0 / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.091e-05/0.006805, allocations: 181.6 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006805, allocations: 0 / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.006976, allocations: 35.86 kB / 386.9 MB, free: 15.52 MB / 314.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 (13): * Single equations (assignments): 13 * 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.0009593/0.007936, allocations: 424.4 kB / 387.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.008044, allocations: 59.53 kB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.008045, allocations: 0 / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.00808, allocations: 47.23 kB / 387.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.008288, allocations: 19.98 kB / 387.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.008619, allocations: 282.5 kB / 387.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.008652, allocations: 79.19 kB / 387.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.943e-05/0.008692, allocations: 12.48 kB / 387.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.008754, allocations: 90.25 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.008754, allocations: 4 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of Templates: time 0.003154/0.01191, allocations: 1.796 MB / 389.7 MB, free: 12.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.442517638206482]