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.001353/0.001353, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 83.81 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3844, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003353/0.3878, allocations: 2.111 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.39, allocations: 1.37 MB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.3902, allocations: 3.969 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.21e-05/0.3903, allocations: 27.66 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.3904, allocations: 34.66 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.391, allocations: 194.1 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.3912, allocations: 179.8 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.3914, allocations: 104.7 kB / 0.5349 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.3916, allocations: 88.92 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3917, allocations: 96.39 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.3918, allocations: 15.88 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.3921, allocations: 154.1 kB / 0.5353 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.3921, allocations: 39.45 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.3922, allocations: 95.61 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.3926, allocations: 320.7 kB / 0.5357 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3926, allocations: 1.312 kB / 0.5357 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3926, allocations: 0 / 0.5357 GB, free: 9.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3927, allocations: 0 / 0.5357 GB, free: 9.98 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.0005779/0.3932, allocations: 0.5237 MB / 0.5362 GB, free: 9.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3933, allocations: 9.562 kB / 0.5362 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.3942, allocations: 75.36 kB / 0.5363 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.3945, allocations: 221.2 kB / 0.5365 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3945, allocations: 24 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.3946, allocations: 25.44 kB / 0.5365 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.3949, allocations: 202.2 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3949, allocations: 5.266 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.395, allocations: 13.38 kB / 0.5368 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.395, allocations: 6.562 kB / 0.5368 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.3953, allocations: 148.4 kB / 0.5369 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.3961, allocations: 0.5791 MB / 0.5375 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.3966, allocations: 241.1 kB / 0.5377 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.3968, allocations: 65.95 kB / 0.5378 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.3968, allocations: 6.297 kB / 0.5378 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3969, allocations: 41.42 kB / 0.5378 GB, free: 8.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.443e-06/0.3969, allocations: 0 / 0.5378 GB, free: 8.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004242/0.3973, allocations: 211.1 kB / 0.538 GB, free: 8.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.3973, allocations: 62.31 kB / 0.5381 GB, free: 8.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.3974, allocations: 104.8 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3974, allocations: 26.83 kB / 0.5382 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.3975, allocations: 145.1 kB / 0.5383 GB, free: 7.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.3976, allocations: 88.39 kB / 0.5384 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.3977, allocations: 40.17 kB / 0.5385 GB, free: 7.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3978, allocations: 325.8 kB / 0.5388 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.3979, allocations: 40.34 kB / 0.5388 GB, free: 7.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.54e-05/0.398, allocations: 50.7 kB / 0.5389 GB, free: 7.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3982, allocations: 115.9 kB / 0.539 GB, free: 7.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3982, allocations: 0 / 0.539 GB, free: 7.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002727/0.3985, allocations: 170.8 kB / 0.5391 GB, free: 7.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3985, allocations: 9.688 kB / 0.5391 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3985, allocations: 0 / 0.5391 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3985, allocations: 1.281 kB / 0.5391 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.3989, allocations: 99.56 kB / 0.5392 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3989, allocations: 1.125 kB / 0.5392 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.399, allocations: 20.78 kB / 0.5393 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.399, allocations: 4.875 kB / 0.5393 GB, free: 7.191 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.0001/0.3991, allocations: 128 kB / 0.5394 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.3991, allocations: 17.98 kB / 0.5394 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.3992, allocations: 25.53 kB / 0.5394 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3992, allocations: 3.25 kB / 0.5394 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3992, allocations: 1.125 kB / 0.5394 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3992, allocations: 0 / 0.5394 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.3995, allocations: 271.1 kB / 0.5397 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3995, allocations: 7.938 kB / 0.5397 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.3999, allocations: 100.2 kB / 0.5398 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3999, allocations: 1.344 kB / 0.5398 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3999, allocations: 5.656 kB / 0.5398 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3999, allocations: 5.625 kB / 0.5398 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3999, allocations: 3.984 kB / 0.5398 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.4002, allocations: 277.6 kB / 0.5401 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.4003, allocations: 93.36 kB / 0.5402 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.4003, allocations: 4 kB / 0.5402 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.4004, allocations: 8.031 kB / 0.5402 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.4005, allocations: 18.81 kB / 0.5402 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4005, allocations: 12.19 kB / 0.5402 GB, free: 6.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.75e-05/0.4005, allocations: 80.59 kB / 0.5403 GB, free: 6.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4006, allocations: 4 kB / 0.5403 GB, free: 6.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.4008, allocations: 51 kB / 0.5403 GB, free: 6.285 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.000102/0.4009, allocations: 95.66 kB / 0.5404 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.4012, allocations: 131.8 kB / 0.5405 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4012, allocations: 0 / 0.5405 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.4014, allocations: 85.52 kB / 0.5406 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.4016, allocations: 18.16 kB / 0.5406 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.4023, allocations: 460.4 kB / 0.5411 GB, free: 5.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.4026, allocations: 0.7357 MB / 0.5418 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.4027, allocations: 20.56 kB / 0.5418 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.4028, allocations: 15.84 kB / 0.5418 GB, free: 5.059 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4028, allocations: 0 / 0.5418 GB, free: 5.059 MB / 398.1 MB Notification: Performance of Templates: time 0.00397/0.4068, allocations: 0.9742 MB / 0.5428 GB, free: 4.562 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