Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0008849/0.0008849, 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.0009252/0.0009252, allocations: 160.2 kB / 24.91 MB, free: 8.723 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.9932/0.9932, allocations: 177 MB / 205.2 MB, free: 5.449 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.2706/0.2706, allocations: 34.87 MB / 296.6 MB, free: 0.5312 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.694e-05, allocations: 2.312 kB / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001996/0.002013, allocations: 1.697 MB / 327.6 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003189, allocations: 1.328 MB / 329 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.003233, allocations: 0 / 329 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.003396, allocations: 19.86 kB / 329 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.003643, allocations: 87.55 kB / 329.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.003939, allocations: 179.4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.004053, allocations: 84.44 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.432e-05/0.004118, allocations: 11.98 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.004172, allocations: 43.89 kB / 329.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.004247, allocations: 27.91 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.004259, allocations: 4 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.004387, allocations: 99.81 kB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.004432, allocations: 23.91 kB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.004451, allocations: 12 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.004633, allocations: 151.4 kB / 329.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.004635, allocations: 0 / 329.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004636, allocations: 0 / 329.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.004639, allocations: 0 / 329.7 MB, free: 3.414 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.0003213/0.00496, allocations: 301.7 kB / 330 MB, free: 3.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.683e-05/0.004987, allocations: 11.97 kB / 330 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.005015, allocations: 8.938 kB / 330 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.005146, allocations: 149.5 kB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.005154, allocations: 384 / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.005174, allocations: 8.375 kB / 330.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.005287, allocations: 94.36 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.005296, allocations: 4.172 kB / 330.3 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.005303, allocations: 4.375 kB / 330.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.005308, allocations: 384 / 330.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.005331, allocations: 11.94 kB / 330.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.005525, allocations: 179 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.348e-05/0.005579, allocations: 38.73 kB / 330.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.005595, allocations: 12.84 kB / 330.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.005608, allocations: 0 / 330.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.005626, allocations: 30.56 kB / 330.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005627, allocations: 4 kB / 330.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002656/0.005893, allocations: 113.4 kB / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.005924, allocations: 81.05 kB / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.006007, allocations: 144.8 kB / 330.9 MB, free: 2.098 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.006019, allocations: 29.7 kB / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.006047, allocations: 96.08 kB / 331 MB, free: 1.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.006066, allocations: 27.77 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.006094, allocations: 21.72 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.006166, allocations: 318.8 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.00618, allocations: 8 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.006214, allocations: 43.42 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.006252, allocations: 31.64 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.006253, allocations: 0 / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.234e-05/0.006315, allocations: 53.62 kB / 331.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.006326, allocations: 11.94 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.00633, allocations: 0 / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006341, allocations: 4.031 kB / 331.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.006402, allocations: 15.98 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.006404, allocations: 320 / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.00643, allocations: 11.98 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.006435, allocations: 3.938 kB / 331.5 MB, free: 1.387 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.263e-05/0.006487, allocations: 112.7 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.006505, allocations: 7.938 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.611e-05/0.006601, allocations: 82.34 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006603, allocations: 0 / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.006604, allocations: 4 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006607, allocations: 0 / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.006801, allocations: 226.8 kB / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.006803, allocations: 4 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.006843, allocations: 23.86 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.006845, allocations: 0 / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.006849, allocations: 0 / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00685, allocations: 0 / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006851, allocations: 0 / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.007e-05/0.006931, allocations: 151.5 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.006942, allocations: 7.891 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.006954, allocations: 8 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.006992, allocations: 7.984 kB / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.007014, allocations: 0 / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.007019, allocations: 7.984 kB / 332.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.005e-05/0.007049, allocations: 29.61 kB / 332.2 MB, free: 0.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007049, allocations: 4 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.007221, allocations: 35.88 kB / 332.2 MB, free: 0.6289 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.001253/0.008474, allocations: 0.6309 MB / 332.9 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.814e-05/0.008552, allocations: 20.86 kB / 332.9 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.008557, allocations: 8 kB / 332.9 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.00858, allocations: 20.78 kB / 332.9 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.008721, allocations: 23.94 kB / 332.9 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.009001, allocations: 194.9 kB / 333.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.65e-05/0.009037, allocations: 71.28 kB / 333.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.365e-05/0.009081, allocations: 17.03 kB / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.009149, allocations: 67.36 kB / 333.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009149, allocations: 0 / 333.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of Templates: time 0.003294/0.01244, allocations: 2.146 MB / 335.4 MB, free: 13.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.0559386708773673]