Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001449/0.001449, allocations: 88.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.001385/0.001385, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.9554/0.9554, 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.2781/0.2781, allocations: 34.86 MB / 296.6 MB, free: 472 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.963e-05, allocations: 5.953 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.007734/0.007763, allocations: 1.648 MB / 327.6 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.01165, allocations: 0.5563 MB / 328.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.0117, allocations: 0 / 328.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.01197, allocations: 75.7 kB / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.01227, allocations: 107.5 kB / 328.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.01255, allocations: 107.7 kB / 328.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.0127, allocations: 91.69 kB / 328.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.28e-05/0.01278, allocations: 15.98 kB / 328.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.01285, allocations: 47.88 kB / 328.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.01294, allocations: 47.89 kB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.01296, allocations: 4 kB / 328.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.01304, allocations: 47.91 kB / 328.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.01308, allocations: 23.92 kB / 328.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.01311, allocations: 11.94 kB / 328.7 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.01326, allocations: 99.53 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01326, allocations: 0 / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01326, allocations: 0 / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.01327, allocations: 0 / 328.8 MB, free: 4.25 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.0003448/0.01361, allocations: 314.4 kB / 329.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.01364, allocations: 12.03 kB / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.01367, allocations: 8.922 kB / 329.1 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.01381, allocations: 146.3 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.01382, allocations: 4.375 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.01384, allocations: 4.312 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.624e-05/0.01393, allocations: 54.95 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.01394, allocations: 192 / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.01394, allocations: 4.375 kB / 329.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.01395, allocations: 384 / 329.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.01397, allocations: 11.92 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.0142, allocations: 183 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.01426, allocations: 37.31 kB / 329.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.01427, allocations: 8.859 kB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.01429, allocations: 0 / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.01431, allocations: 34.56 kB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.01431, allocations: 0 / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.001897/0.0162, allocations: 145.5 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.01624, allocations: 55.41 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.01637, allocations: 193.7 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.01638, allocations: 29.7 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.01642, allocations: 92.08 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.01645, allocations: 31.73 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.01648, allocations: 21.7 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.01657, allocations: 322.8 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.01658, allocations: 7.984 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/0.0166, allocations: 8 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.01664, allocations: 31.66 kB / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.01664, allocations: 0 / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.982e-05/0.01672, allocations: 61.83 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.01674, allocations: 9.094 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.01674, allocations: 0 / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01675, allocations: 7.938 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.01682, allocations: 15.98 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.01682, allocations: 0 / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.01684, allocations: 0 / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01685, allocations: 8 kB / 330.6 MB, free: 2.258 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.821e-05/0.01691, allocations: 108.7 kB / 330.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.01694, allocations: 15.92 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.01706, allocations: 71.08 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01706, allocations: 4 kB / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01706, allocations: 3.984 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.01706, allocations: 3.938 kB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.01735, allocations: 263.5 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01735, allocations: 0 / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.01739, allocations: 15.98 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.0174, allocations: 0 / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.0174, allocations: 0 / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.01741, allocations: 4 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01741, allocations: 32 / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.01751, allocations: 172.2 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.01753, allocations: 11.91 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.01754, allocations: 0 / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.512e-05/0.01759, allocations: 4 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.01762, allocations: 7.984 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.01762, allocations: 4 kB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.224e-05/0.01768, allocations: 48.14 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01768, allocations: 0 / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.0179, allocations: 20 kB / 331.4 MB, free: 1.445 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.001527/0.01943, allocations: 0.5707 MB / 331.9 MB, free: 1.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.677e-05/0.01952, allocations: 32.78 kB / 332 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.01952, allocations: 4 kB / 332 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.01955, allocations: 28.78 kB / 332 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01975, allocations: 27.92 kB / 332 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.02011, allocations: 220 kB / 332.3 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.661e-05/0.02015, allocations: 71.33 kB / 332.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.0202, allocations: 13.03 kB / 332.3 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.02026, allocations: 63.38 kB / 332.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02026, allocations: 4.062 kB / 332.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of Templates: time 0.003763/0.02403, allocations: 1.521 MB / 333.9 MB, free: 15.12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.892006911803037]