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.001028/0.001028, allocations: 93.67 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 203.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1875/0.1875, allocations: 46.19 MB / 345.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002416/0.0002415, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.0924, allocations: 63.55 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002067/0.0945, allocations: 1.811 MB / 485.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.09654, allocations: 1.367 MB / 486.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.09668, allocations: 4 kB / 486.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.09674, allocations: 15.8 kB / 486.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.09687, allocations: 23.83 kB / 486.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.09736, allocations: 167.5 kB / 487.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.09757, allocations: 172.1 kB / 487.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.09777, allocations: 87.61 kB / 487.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.09793, allocations: 63.64 kB / 487.4 MB, free: 440 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.09803, allocations: 75.52 kB / 487.5 MB, free: 364 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.09806, allocations: 4 kB / 487.5 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.09836, allocations: 139.9 kB / 487.6 MB, free: 220 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.0984, allocations: 27.86 kB / 487.7 MB, free: 192 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.872e-05/0.09848, allocations: 109.1 kB / 487.8 MB, free: 76 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.09879, allocations: 215.6 kB / 488 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.0988, allocations: 0 / 488 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09881, allocations: 0 / 488 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.09882, allocations: 0 / 488 MB, free: 15.86 MB / 366.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.0005148/0.09934, allocations: 491.4 kB / 488.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.09938, allocations: 8.031 kB / 488.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009082/0.1003, allocations: 84.59 kB / 488.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1005, allocations: 212 kB / 488.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.1005, allocations: 28.88 kB / 488.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1006, allocations: 28.38 kB / 488.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.1009, allocations: 205.2 kB / 489 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1009, allocations: 0 / 489 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.101, allocations: 8 kB / 489 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.101, allocations: 8 kB / 489 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.1013, allocations: 154.1 kB / 489.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.102, allocations: 0.5967 MB / 489.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.1025, allocations: 229.2 kB / 490 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1027, allocations: 69.3 kB / 490.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1027, allocations: 16.16 kB / 490.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.1027, allocations: 38.8 kB / 490.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.1028, allocations: 0 / 490.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004286/0.1032, allocations: 221.4 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.1032, allocations: 55.41 kB / 490.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.1033, allocations: 105.8 kB / 490.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1033, allocations: 33.7 kB / 490.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.1034, allocations: 132.5 kB / 490.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.1035, allocations: 86.66 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1035, allocations: 21.72 kB / 490.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.1036, allocations: 326.8 kB / 491.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.1037, allocations: 39.97 kB / 491.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-05/0.1038, allocations: 56.89 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.104, allocations: 122.2 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.104, allocations: 0 / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002684/0.1043, allocations: 173.4 kB / 491.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1043, allocations: 4 kB / 491.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1043, allocations: 3.984 kB / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1043, allocations: 8 kB / 491.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.1047, allocations: 99.88 kB / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1047, allocations: 0 / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.1048, allocations: 19.84 kB / 491.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1048, allocations: 4 kB / 491.6 MB, free: 12.02 MB / 366.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 9.328e-05/0.1049, allocations: 133.8 kB / 491.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.105, allocations: 15.84 kB / 491.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.105, allocations: 25.53 kB / 491.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.105, allocations: 7.938 kB / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.105, allocations: 0 / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1051, allocations: 0 / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.1053, allocations: 269.4 kB / 492 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1053, allocations: 7.938 kB / 492.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.1057, allocations: 103.9 kB / 492.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1057, allocations: 0 / 492.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1057, allocations: 4 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1057, allocations: 4 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1057, allocations: 0 / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.106, allocations: 271.4 kB / 492.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.1061, allocations: 97.05 kB / 492.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1061, allocations: 11.94 kB / 492.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.1062, allocations: 8 kB / 492.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1062, allocations: 19.95 kB / 492.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1063, allocations: 11.94 kB / 492.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.1063, allocations: 83.28 kB / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1063, allocations: 0 / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1066, allocations: 55.78 kB / 492.7 MB, free: 10.83 MB / 366.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 8.431e-05/0.1067, allocations: 95.25 kB / 492.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1069, allocations: 132.3 kB / 492.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1069, allocations: 0 / 492.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1071, allocations: 87.83 kB / 493 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1073, allocations: 15.94 kB / 493 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.108, allocations: 0.6364 MB / 493.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1083, allocations: 0.7399 MB / 494.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.1083, allocations: 23.38 kB / 494.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1083, allocations: 0 / 494.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of Templates: time 0.003048/0.1114, allocations: 1.72 MB / 496.2 MB, free: 7.305 MB / 366.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