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.00135/0.00135, allocations: 88.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.001543/0.001543, allocations: 168.4 kB / 24.91 MB, free: 8.715 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.9126/0.9126, allocations: 177 MB / 205.2 MB, free: 4.414 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.1527/0.1527, allocations: 34.86 MB / 296.6 MB, free: 13.38 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.522e-06/1.522e-06, allocations: 0 / 326 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.271e-05, allocations: 2.312 kB / 326 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003497/0.00352, allocations: 2.13 MB / 328.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.005699, allocations: 1.375 MB / 329.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.005809, allocations: 4 kB / 329.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.03e-05/0.005879, allocations: 27.67 kB / 329.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.006032, allocations: 43.59 kB / 329.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.006526, allocations: 191 kB / 329.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.006764, allocations: 180.1 kB / 329.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.006967, allocations: 82.69 kB / 330 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.007205, allocations: 115.7 kB / 330.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.00731, allocations: 71.72 kB / 330.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.007342, allocations: 20 kB / 330.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.007667, allocations: 163.6 kB / 330.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.007712, allocations: 39.84 kB / 330.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.007781, allocations: 71.75 kB / 330.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.008186, allocations: 290.8 kB / 330.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.008189, allocations: 0 / 330.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.00819, allocations: 0 / 330.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.008195, allocations: 0 / 330.8 MB, free: 11.18 MB / 314.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.0005018/0.008696, allocations: 432.1 kB / 331.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.008731, allocations: 8.031 kB / 331.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.009698, allocations: 195.8 kB / 331.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.009895, allocations: 133.5 kB / 331.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.009918, allocations: 21.03 kB / 331.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.009947, allocations: 24.38 kB / 331.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.01019, allocations: 171.3 kB / 331.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.0102, allocations: 192 / 331.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.01022, allocations: 16.38 kB / 331.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.01024, allocations: 11.94 kB / 331.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.01036, allocations: 72.53 kB / 331.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.01106, allocations: 409.1 kB / 332.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.01142, allocations: 166 kB / 332.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.01148, allocations: 41.3 kB / 332.4 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.01151, allocations: 8.219 kB / 332.4 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.01153, allocations: 38.73 kB / 332.5 MB, free: 9.371 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.01154, allocations: 4 kB / 332.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002484/0.01178, allocations: 128 kB / 332.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.01182, allocations: 51.41 kB / 332.6 MB, free: 9.176 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.01189, allocations: 110.6 kB / 332.7 MB, free: 9.055 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01191, allocations: 33.7 kB / 332.8 MB, free: 9.016 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.01197, allocations: 140.7 kB / 332.9 MB, free: 8.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.01204, allocations: 87.17 kB / 333 MB, free: 8.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.01211, allocations: 49.67 kB / 333.1 MB, free: 8.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.01221, allocations: 322.8 kB / 333.4 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.01225, allocations: 19.98 kB / 333.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.01228, allocations: 19.95 kB / 333.4 MB, free: 8.371 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.01239, allocations: 78.11 kB / 333.5 MB, free: 8.293 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01239, allocations: 0 / 333.5 MB, free: 8.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001584/0.01255, allocations: 109.6 kB / 333.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01256, allocations: 4 kB / 333.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01257, allocations: 4 kB / 333.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.01258, allocations: 7.984 kB / 333.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.01305, allocations: 127.8 kB / 333.7 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01306, allocations: 3.938 kB / 333.7 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.01311, allocations: 15.89 kB / 333.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.01313, allocations: 8 kB / 333.8 MB, free: 8.012 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 8.044e-05/0.01321, allocations: 117.8 kB / 333.9 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.01325, allocations: 15.98 kB / 333.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.01329, allocations: 25.62 kB / 333.9 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.0133, allocations: 4 kB / 333.9 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.0133, allocations: 0 / 333.9 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.01331, allocations: 7.922 kB / 333.9 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.0135, allocations: 133.7 kB / 334.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0135, allocations: 0 / 334.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.01392, allocations: 127.8 kB / 334.2 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.01393, allocations: 0 / 334.2 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.01394, allocations: 7.984 kB / 334.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01395, allocations: 4 kB / 334.2 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01395, allocations: 256 / 334.2 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.01415, allocations: 207.4 kB / 334.4 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.01417, allocations: 7.953 kB / 334.4 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01418, allocations: 8 kB / 334.4 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.01427, allocations: 8 kB / 334.4 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.01432, allocations: 23.94 kB / 334.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01433, allocations: 4 kB / 334.4 MB, free: 7.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.548e-05/0.01434, allocations: 12.86 kB / 334.5 MB, free: 7.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01434, allocations: 0 / 334.5 MB, free: 7.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.0146, allocations: 63.78 kB / 334.5 MB, free: 7.199 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 8.699e-05/0.01469, allocations: 84.3 kB / 334.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.01485, allocations: 89.19 kB / 334.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.01485, allocations: 0 / 334.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.01492, allocations: 64.7 kB / 334.8 MB, free: 6.953 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01513, allocations: 19.92 kB / 334.8 MB, free: 6.934 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.01576, allocations: 444.9 kB / 335.2 MB, free: 6.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.902e-05/0.01582, allocations: 75.83 kB / 335.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.634e-05/0.01591, allocations: 21.47 kB / 335.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.016, allocations: 71.38 kB / 335.4 MB, free: 6.285 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.016, allocations: 0 / 335.4 MB, free: 6.285 MB / 314.7 MB Notification: Performance of Templates: time 0.003722/0.01973, allocations: 1.079 MB / 336.5 MB, free: 5.227 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 -s gbode -gbm=radauIIA3 -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.970279363915324]