Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.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.001171/0.001171, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001177/0.001177, allocations: 166.8 kB / 24.91 MB, free: 9.195 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.998/0.998, allocations: 177 MB / 205.2 MB, free: 5.438 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.2766/0.2766, allocations: 34.88 MB / 296.6 MB, free: 0.5195 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.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.595e-05, allocations: 5.578 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.002357/0.002373, allocations: 1.75 MB / 327.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003551, allocations: 1.324 MB / 329 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.003598, allocations: 0 / 329 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.003782, allocations: 27.77 kB / 329.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.004017, allocations: 83.56 kB / 329.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.00431, allocations: 175.4 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.004445, allocations: 83.7 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.00453, allocations: 19.95 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.797e-05/0.004588, allocations: 39.91 kB / 329.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.004673, allocations: 32.91 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.004687, allocations: 4 kB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.004819, allocations: 99.86 kB / 329.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.004862, allocations: 15.92 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.004886, allocations: 19.92 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.005051, allocations: 143.5 kB / 329.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.005053, allocations: 0 / 329.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005053, allocations: 0 / 329.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.005057, allocations: 0 / 329.8 MB, free: 3.301 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.000294/0.005351, allocations: 313.6 kB / 330.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.005379, allocations: 12.03 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.005405, allocations: 4.938 kB / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.005532, allocations: 133.6 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005541, allocations: 8.375 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.005557, allocations: 4.375 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.005664, allocations: 106.3 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.005673, allocations: 192 / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.00568, allocations: 384 / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005685, allocations: 384 / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.005708, allocations: 11.94 kB / 330.4 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.005908, allocations: 187 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.005957, allocations: 30.58 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.005972, allocations: 8.859 kB / 330.6 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.005987, allocations: 8.062 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.006005, allocations: 30.56 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.006006, allocations: 0 / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002814/0.006287, allocations: 117.5 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.006321, allocations: 81.05 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.006403, allocations: 142.7 kB / 330.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.006415, allocations: 29.7 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.006446, allocations: 96.06 kB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.006467, allocations: 23.73 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.006497, allocations: 21.7 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.006576, allocations: 318.8 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.006592, allocations: 11.97 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.006623, allocations: 43.42 kB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.006661, allocations: 27.67 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006662, allocations: 0 / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.425e-05/0.006726, allocations: 65.83 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.006742, allocations: 13.84 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.006746, allocations: 80 / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.006761, allocations: 4 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.006822, allocations: 15.98 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.006826, allocations: 3.984 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.006849, allocations: 11.98 kB / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.006855, allocations: 0 / 331.6 MB, free: 1.262 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 (7): * Single equations (assignments): 7 * 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.558e-05/0.006911, allocations: 116.7 kB / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.006929, allocations: 7.938 kB / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.631e-05/0.007025, allocations: 78.38 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007027, allocations: 0 / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.007028, allocations: 0 / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007032, allocations: 0 / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.007223, allocations: 218.8 kB / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007224, allocations: 0 / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.007266, allocations: 27.86 kB / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007267, allocations: 0 / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007274, allocations: 4 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007275, allocations: 0 / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007275, allocations: 0 / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.422e-05/0.00736, allocations: 155.5 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.007369, allocations: 7.891 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.00738, allocations: 4 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.007418, allocations: 11.98 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.007441, allocations: 0 / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.007445, allocations: 7.938 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.674e-05/0.007472, allocations: 29.61 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007472, allocations: 0 / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.007628, allocations: 39.88 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001262/0.008889, allocations: 0.6186 MB / 332.9 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.008981, allocations: 28.83 kB / 333 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.008986, allocations: 4 kB / 333 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.009009, allocations: 24.78 kB / 333 MB, free: 112 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.009159, allocations: 27.69 kB / 333 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.009449, allocations: 190.9 kB / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.009488, allocations: 67.33 kB / 333.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.00953, allocations: 17.03 kB / 333.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.009597, allocations: 71.36 kB / 333.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009598, allocations: 0 / 333.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003267/0.01286, allocations: 2.144 MB / 335.5 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.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.021725859027356]