Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001065/0.001065, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001092/0.001092, allocations: 166.6 kB / 24.82 MB, free: 9.309 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.9574/0.9574, allocations: 177 MB / 205.1 MB, free: 5.477 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.2824/0.2824, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.413e-05, allocations: 6.25 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002115/0.002139, allocations: 1.631 MB / 380.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.002831, allocations: 0.533 MB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.002882, allocations: 4 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.003073, allocations: 27.77 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.003312, allocations: 79.56 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.003543, allocations: 115.6 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.003661, allocations: 75.7 kB / 381.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.003742, allocations: 11.86 kB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.003796, allocations: 31.91 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.003847, allocations: 19.97 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.003858, allocations: 0 / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.015e-05/0.003919, allocations: 28 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.003954, allocations: 15.92 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.003976, allocations: 11.92 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.004095, allocations: 67.75 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004097, allocations: 4 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004098, allocations: 4 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.004101, allocations: 0 / 381.9 MB, free: 15.15 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000316/0.004417, allocations: 424 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.00445, allocations: 8.031 kB / 382.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.004487, allocations: 12.89 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.004593, allocations: 140.4 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.004601, allocations: 4.375 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.004615, allocations: 384 / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.953e-05/0.004694, allocations: 54.95 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.004702, allocations: 4.188 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.004708, allocations: 384 / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.004712, allocations: 384 / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.004734, allocations: 15.86 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.004949, allocations: 248.5 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.005087, allocations: 43.03 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.005108, allocations: 11.69 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.005129, allocations: 4 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.005153, allocations: 37.33 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.005154, allocations: 0 / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003222/0.005477, allocations: 97.81 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.005502, allocations: 55.41 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.005598, allocations: 197.9 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.005609, allocations: 25.7 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.005659, allocations: 150.8 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.005676, allocations: 15.84 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.005707, allocations: 31.36 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.00581, allocations: 496.1 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.005823, allocations: 7.984 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.005833, allocations: 4 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.005861, allocations: 27.69 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.005861, allocations: 4.125 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.095e-05/0.005932, allocations: 69.5 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.005942, allocations: 4 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.005946, allocations: 4 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.005956, allocations: 0 / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.1e-05/0.005997, allocations: 11.98 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.006, allocations: 0 / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.006017, allocations: 4 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.006021, allocations: 0 / 384.1 MB, free: 12.78 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 (5): * Single equations (assignments): 5 * 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.795e-05/0.006079, allocations: 160.6 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.006099, allocations: 15.89 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.006191, allocations: 66.08 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006193, allocations: 0 / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.006194, allocations: 0 / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.006196, allocations: 0 / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.006393, allocations: 298 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.006394, allocations: 0 / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.006423, allocations: 11.98 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006424, allocations: 4 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-06/0.006428, allocations: 4 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.00643, allocations: 3.938 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00643, allocations: 0 / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.972e-05/0.00652, allocations: 208.1 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.006528, allocations: 7.953 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.006537, allocations: 4 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.006568, allocations: 7.984 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.006586, allocations: 0 / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.006588, allocations: 0 / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.92e-05/0.006638, allocations: 156.1 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006638, allocations: 0 / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.006787, allocations: 15.94 kB / 385 MB, free: 11.77 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 (5): * Single equations (assignments): 5 * 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.0007507/0.007538, allocations: 378.8 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.007606, allocations: 31.61 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007608, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/0.007628, allocations: 15.69 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.00783, allocations: 34.62 kB / 385.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.008087, allocations: 178.6 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.5e-05/0.008122, allocations: 67.28 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.008152, allocations: 11.97 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.008205, allocations: 90.19 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008205, allocations: 0 / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Templates: time 0.002797/0.011, allocations: 1.27 MB / 387.1 MB, free: 9.762 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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: 2.8890176210552454]