Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001004/0.001004, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001141/0.001141, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.072/1.072, allocations: 177 MB / 204.8 MB, free: 5.555 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.3029/0.3029, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.755e-05, allocations: 3.578 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002364/0.002391, allocations: 1.761 MB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.003708, allocations: 1.02 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.003791, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.004106, allocations: 43.7 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.004411, allocations: 95.47 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.004601, allocations: 83.59 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.004778, allocations: 103.7 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.004869, allocations: 11.97 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.004952, allocations: 55.78 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.005024, allocations: 23.92 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.005041, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.005127, allocations: 47.91 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.005181, allocations: 19.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.005221, allocations: 23.86 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.0054, allocations: 95.66 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005403, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005404, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.005408, allocations: 0 / 382.2 MB, free: 14.59 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004544/0.005863, allocations: 455.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.005899, allocations: 8.031 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.005946, allocations: 12.89 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.006119, allocations: 154.6 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.006136, allocations: 384 / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.006158, allocations: 384 / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.006281, allocations: 66.92 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006292, allocations: 4.188 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.006302, allocations: 384 / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.006311, allocations: 7.938 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.00635, allocations: 15.92 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.006673, allocations: 283.8 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.006774, allocations: 51.11 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.006804, allocations: 19.69 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.006818, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.006926, allocations: 80.89 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.006927, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003899/0.007317, allocations: 157.3 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.007345, allocations: 51.41 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.007475, allocations: 234.6 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.007492, allocations: 29.69 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.007551, allocations: 146.9 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.007579, allocations: 27.78 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.007614, allocations: 27.38 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.007734, allocations: 0.4923 MB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.007763, allocations: 15.98 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.007802, allocations: 35.36 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.007863, allocations: 47.31 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.007864, allocations: 4 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001123/0.007976, allocations: 97.45 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.007989, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007994, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.008009, allocations: 7.984 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.008084, allocations: 12 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.00809, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.008119, allocations: 8 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.008125, allocations: 0 / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.988e-05/0.008194, allocations: 164.6 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.00821, allocations: 19.89 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.008362, allocations: 107.1 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.008363, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008367, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.00837, allocations: 384 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.008702, allocations: 392.9 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.008705, allocations: 4 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.008733, allocations: 11.94 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008736, allocations: 4 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.008745, allocations: 8.016 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008746, allocations: 3.938 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008747, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.008892, allocations: 259.4 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.008904, allocations: 11.91 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.008923, allocations: 4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.008965, allocations: 0 / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.008998, allocations: 11.98 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.009011, allocations: 4 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.011e-05/0.009081, allocations: 163.9 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009081, allocations: 0 / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.009251, allocations: 31.92 kB / 385.9 MB, free: 10.59 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008897/0.01014, allocations: 428 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.01027, allocations: 55.53 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01028, allocations: 4 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.01032, allocations: 39.55 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.01056, allocations: 19.98 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.01093, allocations: 218.4 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.01098, allocations: 71.33 kB / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.803e-05/0.01102, allocations: 17.28 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.01105, allocations: 20.48 kB / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01105, allocations: 0 / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of Templates: time 0.003649/0.0147, allocations: 1.86 MB / 388.6 MB, free: 7.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.438620902132243]