Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001322/0.001322, 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.001491/0.001491, 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.9326/0.9326, allocations: 177 MB / 204.8 MB, free: 5.594 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.2465/0.2465, allocations: 34.87 MB / 296.3 MB, free: 0.543 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.695e-05, allocations: 3.156 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003116/0.003143, allocations: 1.719 MB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004165, allocations: 0.572 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.004228, allocations: 7.938 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.004508, allocations: 71.7 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.004842, allocations: 111.5 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.005254, allocations: 171.5 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.005442, allocations: 91.8 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.005549, allocations: 28.16 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.005636, allocations: 55.81 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.005747, allocations: 47.88 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.005766, allocations: 4 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.00588, allocations: 51.92 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.005957, allocations: 19.92 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.006, allocations: 23.91 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.006215, allocations: 99.59 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006218, allocations: 0 / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.006219, allocations: 4 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.006223, allocations: 4 kB / 381.9 MB, free: 14.97 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005103/0.006733, allocations: 455.8 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.006778, allocations: 8.031 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.006834, allocations: 16.84 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.006999, allocations: 156.9 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.00701, allocations: 4.375 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.007032, allocations: 4.375 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.007175, allocations: 74.86 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.007187, allocations: 192 / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.007198, allocations: 384 / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.007207, allocations: 12.31 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.007253, allocations: 19.92 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.007619, allocations: 311.6 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.007843, allocations: 47.05 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.007875, allocations: 15.81 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.007894, allocations: 0 / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.007918, allocations: 41.33 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.007919, allocations: 0 / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005832/0.008502, allocations: 245.2 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.008529, allocations: 51.41 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.008657, allocations: 241.8 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.008674, allocations: 25.7 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.008743, allocations: 158.8 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.008773, allocations: 39.69 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.008807, allocations: 27.38 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.008922, allocations: 0.5079 MB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.008951, allocations: 15.98 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.008976, allocations: 19.92 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.16e-05/0.009038, allocations: 51.89 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.009039, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001396/0.009179, allocations: 89.58 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.009193, allocations: 6.656 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.009199, allocations: 4 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.009211, allocations: 0 / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.009272, allocations: 24.55 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.009277, allocations: 11.94 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.009301, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.009308, allocations: 0 / 384.5 MB, free: 12.11 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 (11): * Single equations (assignments): 11 * 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.69e-05/0.009375, allocations: 172.4 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.009397, allocations: 15.91 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.009548, allocations: 107.1 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.00955, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.009553, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.009556, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.009881, allocations: 432.5 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.009883, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.009928, allocations: 19.98 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.009931, allocations: 4 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.00994, allocations: 4 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.009943, allocations: 7.938 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009944, allocations: 3.938 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.01008, allocations: 255.2 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.01009, allocations: 11.91 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.01011, allocations: 8.062 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.01015, allocations: 11.98 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.01018, allocations: 15.86 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.01019, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.077e-05/0.01026, allocations: 172.2 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01026, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.01042, allocations: 27.92 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008751/0.0113, allocations: 434.1 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.01143, allocations: 63.59 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01143, allocations: 4 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.01147, allocations: 39.61 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.01168, allocations: 19.36 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.01205, allocations: 297.2 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.01209, allocations: 75.33 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.01214, allocations: 24.59 kB / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.01218, allocations: 20.5 kB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01218, allocations: 0 / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of Templates: time 0.003342/0.01552, allocations: 1.762 MB / 388.5 MB, free: 8.129 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.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.0803926549851894]