Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001042/0.001042, 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.001014/0.001014, 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 0.982/0.982, allocations: 177 MB / 204.8 MB, free: 5.566 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.2916/0.2916, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.726e-05, allocations: 3.016 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002277/0.002304, allocations: 1.71 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003562, allocations: 1.297 MB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.003612, allocations: 4 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.003802, allocations: 19.8 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.004116, allocations: 95.48 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.004353, allocations: 119.6 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.00448, allocations: 83.7 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.004563, allocations: 11.97 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.00462, allocations: 31.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.00471, allocations: 35.89 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.004726, allocations: 8 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.004861, allocations: 95.81 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.004917, allocations: 19.92 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.004941, allocations: 12 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.005135, allocations: 139.5 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005137, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005137, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.005141, allocations: 4 kB / 382.5 MB, free: 14.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003945/0.005536, allocations: 435.9 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.00557, allocations: 12.03 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.005615, allocations: 16.83 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.005767, allocations: 144.5 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.005776, allocations: 384 / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.005802, allocations: 4.375 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.005948, allocations: 104 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.005958, allocations: 192 / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.005968, allocations: 4.375 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.005975, allocations: 4.375 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.837e-05/0.006013, allocations: 11.88 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.006336, allocations: 283.7 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.151e-05/0.006427, allocations: 43.05 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.006455, allocations: 11.69 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.006478, allocations: 3.938 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.006506, allocations: 45.33 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.006507, allocations: 0 / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004275/0.006934, allocations: 125.5 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.006981, allocations: 77.11 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.007372, allocations: 200.9 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.007383, allocations: 29.7 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.00743, allocations: 150.9 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.007449, allocations: 15.86 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.007484, allocations: 31.36 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.007586, allocations: 492.1 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.007608, allocations: 15.98 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.007645, allocations: 49.08 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.007689, allocations: 35.67 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.00769, allocations: 0 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.592e-05/0.007776, allocations: 69.52 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.007788, allocations: 8 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007792, allocations: 4.031 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.007808, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.007899, allocations: 19.98 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.007904, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.007933, allocations: 4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.007941, allocations: 4 kB / 384.9 MB, free: 11.74 MB / 362.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 6.88e-05/0.00801, allocations: 156.6 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.008037, allocations: 31.98 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.008165, allocations: 86.67 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.008168, allocations: 7.984 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.008172, allocations: 0 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008174, allocations: 0 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.008407, allocations: 345.3 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.008409, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.008448, allocations: 15.98 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.00845, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.00846, allocations: 8 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008461, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008462, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.008577, allocations: 215.8 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.008587, allocations: 11.95 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.0086, allocations: 3.984 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.008639, allocations: 8 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.008673, allocations: 11.92 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.008676, allocations: 0 / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.491e-05/0.008731, allocations: 143.2 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008731, allocations: 0 / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.008936, allocations: 47.86 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: 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.0009295/0.009866, allocations: 474.5 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.009997, allocations: 39.67 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009999, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.01003, allocations: 35.61 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01023, allocations: 23.16 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.01056, allocations: 198.4 kB / 386.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.0106, allocations: 59.34 kB / 386.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.966e-05/0.01064, allocations: 16.3 kB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.01067, allocations: 20.48 kB / 386.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01067, allocations: 0 / 386.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of Templates: time 0.003411/0.01408, allocations: 1.972 MB / 388.7 MB, free: 7.867 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.3990372917614877]