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.001178/0.001178, allocations: 84.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.001395/0.001395, allocations: 165.5 kB / 24.91 MB, free: 8.762 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.9626/0.9626, allocations: 177 MB / 205.2 MB, free: 5.426 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.2526/0.2526, allocations: 34.86 MB / 296.6 MB, free: 440 kB / 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.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 2.034e-06/2.034e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.49e-05, allocations: 2.312 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002717/0.002731, allocations: 2.079 MB / 328 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.004453, allocations: 1.379 MB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/0.004545, allocations: 4 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.113e-05/0.004596, allocations: 27.66 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.00471, allocations: 35.66 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.005157, allocations: 207 kB / 329.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.00536, allocations: 184 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.005537, allocations: 87.5 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.005708, allocations: 111.7 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.005783, allocations: 59.78 kB / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.005807, allocations: 16 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.006027, allocations: 163.6 kB / 330.3 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.006059, allocations: 51.77 kB / 330.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.00611, allocations: 59.83 kB / 330.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.006413, allocations: 286.7 kB / 330.7 MB, free: 2.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006415, allocations: 3.938 kB / 330.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006415, allocations: 0 / 330.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.006418, allocations: 0 / 330.7 MB, free: 2.383 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0003981/0.006816, allocations: 433.6 kB / 331.1 MB, free: 1.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.006848, allocations: 12.03 kB / 331.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007353/0.007583, allocations: 175.9 kB / 331.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.007735, allocations: 149.5 kB / 331.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.007753, allocations: 21.03 kB / 331.4 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.007787, allocations: 32.3 kB / 331.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.007978, allocations: 171.3 kB / 331.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.007987, allocations: 192 / 331.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.008003, allocations: 12.38 kB / 331.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.008012, allocations: 7.938 kB / 331.7 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-05/0.008101, allocations: 64.55 kB / 331.7 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.00863, allocations: 425.1 kB / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.008904, allocations: 160.5 kB / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.539e-05/0.008949, allocations: 37.31 kB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.008966, allocations: 12.17 kB / 332.3 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.008987, allocations: 34.8 kB / 332.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.213e-06/0.008988, allocations: 0 / 332.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001872/0.009176, allocations: 132.6 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.009205, allocations: 55.41 kB / 332.6 MB, free: 384 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/0.009257, allocations: 110.6 kB / 332.7 MB, free: 260 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.009272, allocations: 29.7 kB / 332.7 MB, free: 224 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.009317, allocations: 132.7 kB / 332.8 MB, free: 88 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.009387, allocations: 99.33 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.009441, allocations: 49.69 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.009516, allocations: 318.8 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.009545, allocations: 19.94 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.009572, allocations: 19.98 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.844e-05/0.009651, allocations: 76.77 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009653, allocations: 0 / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001175/0.00977, allocations: 110.3 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.009781, allocations: 4 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.009785, allocations: 0 / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.009796, allocations: 0 / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.01003, allocations: 103.9 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01004, allocations: 3.75 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.01007, allocations: 15.89 kB / 333.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01009, allocations: 8 kB / 333.6 MB, free: 15.25 MB / 314.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 6.755e-05/0.01015, allocations: 117.8 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.01019, allocations: 15.98 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.01022, allocations: 25.62 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01022, allocations: 4 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01022, allocations: 3.938 kB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01023, allocations: 11.92 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.01039, allocations: 129.7 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01039, allocations: 256 / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.01061, allocations: 99.88 kB / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.01061, allocations: 8 kB / 334 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.01062, allocations: 8 kB / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01062, allocations: 0 / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01062, allocations: 0 / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.01076, allocations: 207.4 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.01078, allocations: 11.89 kB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.01079, allocations: 8 kB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.912e-05/0.01085, allocations: 4 kB / 334.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.01088, allocations: 19.95 kB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.01089, allocations: 4 kB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.261e-05/0.0109, allocations: 12.84 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0109, allocations: 7.938 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.01113, allocations: 63.78 kB / 334.4 MB, free: 14.45 MB / 314.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.986e-05/0.0112, allocations: 76.42 kB / 334.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.01131, allocations: 81.22 kB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01132, allocations: 4 kB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.911e-05/0.01137, allocations: 69.14 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.01155, allocations: 14.95 kB / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.01208, allocations: 445.8 kB / 335.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.834e-05/0.01213, allocations: 79.83 kB / 335.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.0122, allocations: 13.47 kB / 335.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.01227, allocations: 79.36 kB / 335.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01228, allocations: 0 / 335.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of Templates: time 0.002999/0.01527, allocations: 1.085 MB / 336.3 MB, free: 12.5 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8517129472456872]