Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.0009749/0.0009749, allocations: 88.86 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.001207/0.001207, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.102/1.102, allocations: 177 MB / 205.2 MB, free: 5.043 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.2726/0.2726, allocations: 34.86 MB / 296.6 MB, free: 404 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 326 MB, free: 7.062 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.8e-05, allocations: 9.062 kB / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002506/0.002534, allocations: 1.697 MB / 327.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.003299, allocations: 0.5407 MB / 328.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.003351, allocations: 4 kB / 328.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.003621, allocations: 71.64 kB / 328.3 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.003861, allocations: 103.5 kB / 328.4 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.004102, allocations: 111.7 kB / 328.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.004244, allocations: 87.73 kB / 328.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.405e-05/0.004328, allocations: 12 kB / 328.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.827e-05/0.004396, allocations: 47.88 kB / 328.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.004476, allocations: 35.91 kB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.004489, allocations: 4 kB / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.004564, allocations: 47.91 kB / 328.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.004605, allocations: 23.86 kB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.004627, allocations: 15.94 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.00477, allocations: 87.66 kB / 328.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004772, allocations: 7.938 kB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004773, allocations: 0 / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004776, allocations: 0 / 328.9 MB, free: 4.152 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.0003193/0.005096, allocations: 310.4 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.005127, allocations: 8.031 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.005156, allocations: 12.92 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.005282, allocations: 137.6 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.005291, allocations: 4.375 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.005307, allocations: 8.312 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.176e-05/0.005389, allocations: 54.94 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.005401, allocations: 12.11 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.005408, allocations: 8.375 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005414, allocations: 384 / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.005435, allocations: 7.938 kB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.00566, allocations: 175.1 kB / 329.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/0.005705, allocations: 33.39 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.005719, allocations: 12.8 kB / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.005732, allocations: 0 / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.005751, allocations: 34.64 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.005752, allocations: 0 / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003973/0.006149, allocations: 149.5 kB / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.006176, allocations: 51.41 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.006278, allocations: 169.7 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.006287, allocations: 25.7 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.006318, allocations: 100.1 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.006343, allocations: 31.72 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.006371, allocations: 17.72 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.006449, allocations: 326.8 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.006461, allocations: 4 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.591e-05/0.006477, allocations: 15.98 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.00651, allocations: 31.83 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006511, allocations: 0 / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.331e-05/0.006594, allocations: 65.59 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.006604, allocations: 4 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.006608, allocations: 0 / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.00662, allocations: 0 / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.006682, allocations: 20 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.006685, allocations: 3.984 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.006701, allocations: 3.938 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.006708, allocations: 8 kB / 330.7 MB, free: 2.176 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.044e-05/0.006758, allocations: 112.6 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.006783, allocations: 19.92 kB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.795e-05/0.006881, allocations: 71.14 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006883, allocations: 0 / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006885, allocations: 0 / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006887, allocations: 0 / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.007101, allocations: 255.5 kB / 331.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007102, allocations: 4 kB / 331.1 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.007139, allocations: 19.97 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.00714, allocations: 0 / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.007146, allocations: 4.406 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.007149, allocations: 4 kB / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007149, allocations: 0 / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.169e-05/0.007231, allocations: 160.3 kB / 331.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.007241, allocations: 11.94 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.00725, allocations: 0 / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.007284, allocations: 7.984 kB / 331.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.007311, allocations: 11.92 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.007316, allocations: 4 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.806e-05/0.007354, allocations: 56.56 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007354, allocations: 0 / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.007494, allocations: 19.94 kB / 331.4 MB, free: 1.359 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.001222/0.008716, allocations: 0.5606 MB / 332 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.026e-05/0.008796, allocations: 32.78 kB / 332 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.0088, allocations: 0 / 332 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.008823, allocations: 24.84 kB / 332 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.008988, allocations: 24.86 kB / 332.1 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.009285, allocations: 220.3 kB / 332.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.48e-05/0.00933, allocations: 79.27 kB / 332.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.009362, allocations: 13.09 kB / 332.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.009415, allocations: 63.36 kB / 332.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of SimCode: time 4.9e-07/0.009416, allocations: 0 / 332.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of Templates: time 0.002992/0.01241, allocations: 1.505 MB / 333.9 MB, free: 15.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.0096194250509143]