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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 112.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 208.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 76.2 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3403, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003263/0.3436, allocations: 2.121 MB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3459, allocations: 1.374 MB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.346, allocations: 4.125 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.827e-05/0.3461, allocations: 23.67 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.3463, allocations: 38.39 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.3468, allocations: 191.4 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.3471, allocations: 183.6 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.3473, allocations: 104.5 kB / 0.5356 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.3475, allocations: 85.84 kB / 0.5357 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3476, allocations: 92.16 kB / 0.5358 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.3476, allocations: 19.06 kB / 0.5358 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.3479, allocations: 150.3 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.348, allocations: 44 kB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.348, allocations: 91.81 kB / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.3485, allocations: 324 kB / 0.5364 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3485, allocations: 1.031 kB / 0.5364 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3485, allocations: 0 / 0.5364 GB, free: 9.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.3485, allocations: 0 / 0.5364 GB, free: 9.992 MB / 398.1 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.0006258/0.3491, allocations: 0.5197 MB / 0.5369 GB, free: 9.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3492, allocations: 14.22 kB / 0.5369 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009352/0.3501, allocations: 74.81 kB / 0.537 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3504, allocations: 209.7 kB / 0.5372 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3504, allocations: 23.22 kB / 0.5372 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.3505, allocations: 29.53 kB / 0.5372 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.3509, allocations: 207.3 kB / 0.5374 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3509, allocations: 0 / 0.5374 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.3509, allocations: 10.31 kB / 0.5374 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3509, allocations: 6.406 kB / 0.5374 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.3512, allocations: 143.2 kB / 0.5376 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.3521, allocations: 0.5917 MB / 0.5381 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.3526, allocations: 232.7 kB / 0.5384 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3528, allocations: 73.8 kB / 0.5384 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.3528, allocations: 11.52 kB / 0.5385 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3528, allocations: 36.98 kB / 0.5385 GB, free: 8.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.3528, allocations: 3.938 kB / 0.5385 GB, free: 8.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004762/0.3533, allocations: 211 kB / 0.5387 GB, free: 8.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3534, allocations: 53.72 kB / 0.5387 GB, free: 8.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.3535, allocations: 105.4 kB / 0.5388 GB, free: 8.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.3535, allocations: 30.8 kB / 0.5389 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.3536, allocations: 137.3 kB / 0.539 GB, free: 7.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.3537, allocations: 93.36 kB / 0.5391 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.3537, allocations: 42.7 kB / 0.5391 GB, free: 7.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3539, allocations: 322 kB / 0.5394 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.354, allocations: 48.84 kB / 0.5395 GB, free: 7.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.612e-05/0.3541, allocations: 41.84 kB / 0.5395 GB, free: 7.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3543, allocations: 124.3 kB / 0.5396 GB, free: 7.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3543, allocations: 4 kB / 0.5397 GB, free: 7.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002937/0.3546, allocations: 168.2 kB / 0.5398 GB, free: 7.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3546, allocations: 4.281 kB / 0.5398 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3547, allocations: 1.031 kB / 0.5398 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3547, allocations: 5.328 kB / 0.5398 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.355, allocations: 98.72 kB / 0.5399 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3551, allocations: 5.5 kB / 0.5399 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-05/0.3551, allocations: 15.75 kB / 0.5399 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3551, allocations: 10.25 kB / 0.5399 GB, free: 7.199 MB / 398.1 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 0.0001074/0.3553, allocations: 127.2 kB / 0.5401 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.3553, allocations: 13.81 kB / 0.5401 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.3554, allocations: 22.81 kB / 0.5401 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3554, allocations: 3.188 kB / 0.5401 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3554, allocations: 0 / 0.5401 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3554, allocations: 7.984 kB / 0.5401 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.3557, allocations: 268.3 kB / 0.5404 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3557, allocations: 7.922 kB / 0.5404 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.356, allocations: 95.08 kB / 0.5405 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.356, allocations: 1.125 kB / 0.5405 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3561, allocations: 5.438 kB / 0.5405 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3561, allocations: 1.469 kB / 0.5405 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3561, allocations: 4 kB / 0.5405 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.3564, allocations: 273.3 kB / 0.5407 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.3565, allocations: 93.17 kB / 0.5408 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.3565, allocations: 14.17 kB / 0.5408 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.3566, allocations: 6.219 kB / 0.5408 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3566, allocations: 15.08 kB / 0.5409 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3566, allocations: 5.188 kB / 0.5409 GB, free: 6.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.3567, allocations: 91.48 kB / 0.541 GB, free: 6.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3567, allocations: 3.938 kB / 0.541 GB, free: 6.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.357, allocations: 47.91 kB / 0.541 GB, free: 6.305 MB / 398.1 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 0.0001034/0.3571, allocations: 99.5 kB / 0.5411 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.3574, allocations: 134.9 kB / 0.5412 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3574, allocations: 1.219 kB / 0.5412 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3575, allocations: 80.67 kB / 0.5413 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3578, allocations: 18.5 kB / 0.5413 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007792/0.3586, allocations: 486 kB / 0.5418 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3589, allocations: 0.7359 MB / 0.5425 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.359, allocations: 18.44 kB / 0.5425 GB, free: 5.059 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.359, allocations: 0 / 0.5425 GB, free: 5.059 MB / 398.1 MB Notification: Performance of Templates: time 0.003712/0.3627, allocations: 1.772 MB / 0.5443 GB, free: 4.129 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches