Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.0007797/0.0007797, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.001988, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001998/0.001998, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002574/0.004572, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.008/1.008, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.098, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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.2544/0.2544, allocations: 34.88 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02283/0.2772, allocations: 13.23 MB / 292.8 MB, free: 6.414 MB / 282.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.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.273e-05, allocations: 3.438 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002636/0.002648, allocations: 2.144 MB / 296.3 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003988, allocations: 1.402 MB / 297.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.004067, allocations: 4 kB / 297.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.004108, allocations: 23.67 kB / 297.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.004178, allocations: 35.66 kB / 297.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.004425, allocations: 199 kB / 297.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.004586, allocations: 176 kB / 298.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.004736, allocations: 78.75 kB / 298.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.004888, allocations: 131.6 kB / 298.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.004955, allocations: 59.78 kB / 298.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.004973, allocations: 16 kB / 298.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.005197, allocations: 167.7 kB / 298.5 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.005228, allocations: 31.88 kB / 298.6 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.005262, allocations: 55.81 kB / 298.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.005513, allocations: 266.8 kB / 298.9 MB, free: 308 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.005523, allocations: 0 / 298.9 MB, free: 308 kB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005523, allocations: 0 / 298.9 MB, free: 308 kB / 282.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.005532, allocations: 0 / 298.9 MB, free: 308 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006991/0.006231, allocations: 489 kB / 299.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.00626, allocations: 8.031 kB / 299.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/0.006789, allocations: 257 kB / 299.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.00693, allocations: 149.4 kB / 299.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.006945, allocations: 21.03 kB / 299.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.006966, allocations: 24.38 kB / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.00713, allocations: 171.4 kB / 300 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.007139, allocations: 192 / 300 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.007152, allocations: 12.38 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.007161, allocations: 11.94 kB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.413e-05/0.007225, allocations: 64.55 kB / 300.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.00767, allocations: 417.1 kB / 300.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.007917, allocations: 175.8 kB / 300.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.007952, allocations: 37.33 kB / 300.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.007969, allocations: 4.234 kB / 300.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.007989, allocations: 42.78 kB / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.322e-06/0.007991, allocations: 0 / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.00015/0.008141, allocations: 124.7 kB / 300.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.008164, allocations: 55.41 kB / 300.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.676e-05/0.008211, allocations: 114.6 kB / 301 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.008357, allocations: 33.7 kB / 301 MB, free: 13.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.008398, allocations: 136.6 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.008441, allocations: 87.2 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.008478, allocations: 45.69 kB / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.008542, allocations: 326.8 kB / 301.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.008563, allocations: 19.98 kB / 301.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.008582, allocations: 24.16 kB / 301.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.373e-05/0.008646, allocations: 72.77 kB / 301.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008648, allocations: 0 / 301.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 8.602e-05/0.008734, allocations: 110.1 kB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.008744, allocations: 4 kB / 301.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.008747, allocations: 0 / 301.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.008759, allocations: 7.938 kB / 301.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.009042, allocations: 131.9 kB / 302 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.009047, allocations: 3.938 kB / 302 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.009077, allocations: 23.84 kB / 302 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.009085, allocations: 8 kB / 302 MB, free: 12.98 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 (27): * Single equations (assignments): 27 * 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.981e-05/0.009145, allocations: 121.8 kB / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.009166, allocations: 15.98 kB / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.009203, allocations: 29.62 kB / 302.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.009204, allocations: 0 / 302.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.009206, allocations: 0 / 302.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.009211, allocations: 11.92 kB / 302.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.009327, allocations: 121.7 kB / 302.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.009329, allocations: 3.984 kB / 302.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.009565, allocations: 131.8 kB / 302.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.009575, allocations: 19.89 kB / 302.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.009577, allocations: 0 / 302.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.009584, allocations: 4.25 kB / 302.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009585, allocations: 0 / 302.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.009587, allocations: 8 kB / 302.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.009697, allocations: 207.4 kB / 302.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.009707, allocations: 7.938 kB / 302.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/0.009748, allocations: 8 kB / 302.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.009777, allocations: 19.95 kB / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.009782, allocations: 4 kB / 302.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.193e-05/0.009794, allocations: 12.84 kB / 302.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009794, allocations: 4 kB / 302.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.009932, allocations: 59.84 kB / 302.8 MB, free: 12.16 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 (27): * Single equations (assignments): 27 * 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 6.065e-05/0.009993, allocations: 80.34 kB / 302.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.831e-05/0.01009, allocations: 85.17 kB / 303 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.0101, allocations: 4 kB / 303 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.01016, allocations: 85.42 kB / 303 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.01032, allocations: 32.62 kB / 303.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.0126, allocations: 469.5 kB / 303.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.076e-05/0.01264, allocations: 75.83 kB / 303.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.443e-05/0.01271, allocations: 17.47 kB / 303.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.01277, allocations: 71.38 kB / 303.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01278, allocations: 0 / 303.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Templates: time 0.002932/0.01571, allocations: 1.127 MB / 304.8 MB, free: 10.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7102838195860386]