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.0009812/0.0009813, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2576/0.2576, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.504, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003842/0.5079, allocations: 2.11 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.5105, allocations: 1.378 MB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.5106, allocations: 3.188 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.883e-05/0.5107, allocations: 24.83 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.5109, allocations: 34.09 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.5115, allocations: 190.4 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.5118, allocations: 187.5 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.5121, allocations: 97.84 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.5123, allocations: 92.45 kB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.5125, allocations: 88.17 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.5125, allocations: 15.12 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.5129, allocations: 154.5 kB / 0.5353 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.5129, allocations: 43.39 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.513, allocations: 96.73 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004962/0.5135, allocations: 315.1 kB / 0.5357 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5135, allocations: 4 kB / 0.5357 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5135, allocations: 1.312 kB / 0.5357 GB, free: 9.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.5136, allocations: 0 / 0.5357 GB, free: 9.973 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.0007448/0.5143, allocations: 0.5298 MB / 0.5362 GB, free: 9.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5144, allocations: 14.19 kB / 0.5362 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009272/0.5153, allocations: 78.89 kB / 0.5363 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.5156, allocations: 217.6 kB / 0.5365 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.5157, allocations: 19.41 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.5157, allocations: 26.09 kB / 0.5366 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.5162, allocations: 210.8 kB / 0.5368 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5162, allocations: 3.938 kB / 0.5368 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.5162, allocations: 10.28 kB / 0.5368 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.5162, allocations: 6.469 kB / 0.5368 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.5165, allocations: 143.4 kB / 0.5369 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009453/0.5175, allocations: 0.5891 MB / 0.5375 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.5181, allocations: 227.3 kB / 0.5377 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.5182, allocations: 70.89 kB / 0.5378 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.5183, allocations: 10.8 kB / 0.5378 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5183, allocations: 32.8 kB / 0.5378 GB, free: 8.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/0.5183, allocations: 0 / 0.5378 GB, free: 8.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.000534/0.5188, allocations: 222.4 kB / 0.538 GB, free: 8.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.5189, allocations: 58.75 kB / 0.5381 GB, free: 8.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.519, allocations: 104.6 kB / 0.5382 GB, free: 8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.519, allocations: 30.92 kB / 0.5382 GB, free: 7.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.5191, allocations: 141.1 kB / 0.5384 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.5192, allocations: 94.02 kB / 0.5384 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.5193, allocations: 43.62 kB / 0.5385 GB, free: 7.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5194, allocations: 321.1 kB / 0.5388 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.756e-05/0.5195, allocations: 44.84 kB / 0.5388 GB, free: 7.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.5196, allocations: 46.52 kB / 0.5389 GB, free: 7.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.5199, allocations: 120.1 kB / 0.539 GB, free: 7.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5199, allocations: 4 kB / 0.539 GB, free: 7.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002939/0.5202, allocations: 167.7 kB / 0.5392 GB, free: 7.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.5202, allocations: 5.062 kB / 0.5392 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5202, allocations: 0 / 0.5392 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.5202, allocations: 1.406 kB / 0.5392 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.5206, allocations: 103.1 kB / 0.5393 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.5206, allocations: 5.281 kB / 0.5393 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.5207, allocations: 16.23 kB / 0.5393 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.5207, allocations: 9.469 kB / 0.5393 GB, free: 7.16 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.0001185/0.5208, allocations: 123.8 kB / 0.5394 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.5209, allocations: 25.72 kB / 0.5394 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.521, allocations: 22.72 kB / 0.5395 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.521, allocations: 2.938 kB / 0.5395 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.521, allocations: 0 / 0.5395 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.521, allocations: 5.438 kB / 0.5395 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.5213, allocations: 271.1 kB / 0.5397 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5213, allocations: 4.188 kB / 0.5397 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.5217, allocations: 99.69 kB / 0.5398 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.5217, allocations: 1.438 kB / 0.5398 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.5217, allocations: 5.531 kB / 0.5398 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5217, allocations: 0 / 0.5398 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5217, allocations: 5.125 kB / 0.5398 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.5221, allocations: 273.3 kB / 0.5401 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.5221, allocations: 96.92 kB / 0.5402 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.5222, allocations: 5.906 kB / 0.5402 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.5223, allocations: 6.375 kB / 0.5402 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.5223, allocations: 23.09 kB / 0.5402 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5223, allocations: 4.281 kB / 0.5402 GB, free: 6.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.5224, allocations: 89.12 kB / 0.5403 GB, free: 6.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5224, allocations: 0 / 0.5403 GB, free: 6.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.5227, allocations: 42.95 kB / 0.5403 GB, free: 6.266 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.0001312/0.5228, allocations: 103.8 kB / 0.5404 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.5232, allocations: 132.1 kB / 0.5406 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5232, allocations: 0 / 0.5406 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.5233, allocations: 77.45 kB / 0.5406 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.5236, allocations: 22.41 kB / 0.5407 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/0.5244, allocations: 471.9 kB / 0.5411 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.5248, allocations: 0.7359 MB / 0.5418 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.781e-05/0.5249, allocations: 19.34 kB / 0.5419 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.525, allocations: 16.53 kB / 0.5419 GB, free: 5.02 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.525, allocations: 0 / 0.5419 GB, free: 5.02 MB / 398.1 MB Notification: Performance of Templates: time 0.003948/0.5289, allocations: 0.9617 MB / 0.5428 GB, free: 4.531 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches