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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009346/0.0009346, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008093/0.0008094, allocations: 101.5 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1886/0.1886, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.738e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3763/0.4815, allocations: 91.09 MB / 0.5933 GB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001591/0.4817, allocations: 58.36 kB / 0.5934 GB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.4977, allocations: 6.287 MB / 0.5995 GB, free: 6.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4978, allocations: 0 / 0.5995 GB, free: 6.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.4978, allocations: 7.938 kB / 0.5995 GB, free: 6.184 MB / 394.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.0005005/0.4983, allocations: 488.2 kB / 0.6 GB, free: 5.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4983, allocations: 12.03 kB / 0.6 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008159/0.4991, allocations: 67.67 kB / 0.6001 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.4993, allocations: 198.3 kB / 0.6002 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4993, allocations: 15.98 kB / 0.6003 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.4994, allocations: 16 kB / 0.6003 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002232/0.4996, allocations: 114.9 kB / 0.6004 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.4998, allocations: 145.4 kB / 0.6005 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4999, allocations: 3.938 kB / 0.6005 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4999, allocations: 0 / 0.6005 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4999, allocations: 8 kB / 0.6005 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.5006, allocations: 0.529 MB / 0.6011 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.5011, allocations: 213.6 kB / 0.6013 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.5012, allocations: 55.33 kB / 0.6013 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.5012, allocations: 4.234 kB / 0.6013 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.5012, allocations: 34.11 kB / 0.6013 GB, free: 4.359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.5012, allocations: 2.625 kB / 0.6013 GB, free: 4.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002581/0.5015, allocations: 146.1 kB / 0.6015 GB, free: 4.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.5015, allocations: 55.41 kB / 0.6015 GB, free: 4.168 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.818e-05/0.5016, allocations: 96.56 kB / 0.6016 GB, free: 4.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.5016, allocations: 29.69 kB / 0.6017 GB, free: 4.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.5017, allocations: 131.3 kB / 0.6018 GB, free: 3.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.5017, allocations: 84.11 kB / 0.6019 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-06/0.5017, allocations: 0 / 0.6019 GB, free: 3.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5019, allocations: 322.1 kB / 0.6022 GB, free: 3.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.5019, allocations: 37.44 kB / 0.6022 GB, free: 3.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.502, allocations: 30.12 kB / 0.6022 GB, free: 3.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.502, allocations: 42.52 kB / 0.6023 GB, free: 3.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.502, allocations: 0 / 0.6023 GB, free: 3.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001811/0.5022, allocations: 134.2 kB / 0.6024 GB, free: 3.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5023, allocations: 5.719 kB / 0.6024 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.5023, allocations: 3.984 kB / 0.6024 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5023, allocations: 4 kB / 0.6024 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.5027, allocations: 107.1 kB / 0.6025 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5027, allocations: 0 / 0.6025 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.5027, allocations: 11.84 kB / 0.6025 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.5028, allocations: 7.125 kB / 0.6025 GB, free: 3.191 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.5028, allocations: 109.9 kB / 0.6026 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.5029, allocations: 15.77 kB / 0.6027 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.5029, allocations: 27.55 kB / 0.6027 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.503, allocations: 8 kB / 0.6027 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.503, allocations: 0 / 0.6027 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.503, allocations: 0 / 0.6027 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.5032, allocations: 214.3 kB / 0.6029 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5032, allocations: 256 / 0.6029 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.5035, allocations: 99.88 kB / 0.603 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.5036, allocations: 12 kB / 0.603 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5036, allocations: 0 / 0.603 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5036, allocations: 3.953 kB / 0.603 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5036, allocations: 0 / 0.603 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.5038, allocations: 243.1 kB / 0.6032 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.5039, allocations: 88.95 kB / 0.6033 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.5039, allocations: 0 / 0.6033 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.504, allocations: 3.984 kB / 0.6033 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.504, allocations: 23.19 kB / 0.6034 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.5041, allocations: 7.938 kB / 0.6034 GB, free: 2.344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.555e-05/0.5041, allocations: 83.56 kB / 0.6034 GB, free: 2.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5041, allocations: 0 / 0.6034 GB, free: 2.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.5044, allocations: 43.75 kB / 0.6035 GB, free: 2.223 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.5045, allocations: 99.17 kB / 0.6036 GB, free: 2.117 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.5047, allocations: 103.7 kB / 0.6037 GB, free: 2.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5047, allocations: 0 / 0.6037 GB, free: 2.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.5048, allocations: 68.62 kB / 0.6037 GB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.5049, allocations: 7.984 kB / 0.6037 GB, free: 1.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.5054, allocations: 209.5 kB / 0.6039 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5058, allocations: 0.7399 MB / 0.6047 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.5059, allocations: 17.19 kB / 0.6047 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.5059, allocations: 27.36 kB / 0.6047 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5059, allocations: 0 / 0.6047 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of Templates: time 0.002886/0.5088, allocations: 0.7896 MB / 0.6055 GB, free: 184 kB / 394.7 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","../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches