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.001444/0.001444, allocations: 196.1 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 226.5 MB / 245.4 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008213/0.0008213, allocations: 95.22 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3814/0.3814, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4394, allocations: 62.96 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.5615, allocations: 91.7 MB / 0.608 GB, free: 13.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.5618, allocations: 67.95 kB / 0.608 GB, free: 13.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0177/0.5795, allocations: 6.342 MB / 0.6142 GB, free: 7.086 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5795, allocations: 3.938 kB / 0.6142 GB, free: 7.082 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.5796, allocations: 4 kB / 0.6142 GB, free: 7.078 MB / 426.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.0006078/0.5802, allocations: 499.2 kB / 0.6147 GB, free: 6.539 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5802, allocations: 8.875 kB / 0.6147 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/0.5811, allocations: 76.69 kB / 0.6148 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.5813, allocations: 192 kB / 0.615 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.5813, allocations: 16.94 kB / 0.615 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.5814, allocations: 28.38 kB / 0.615 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.5817, allocations: 201.5 kB / 0.6152 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5818, allocations: 192 / 0.6152 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.5818, allocations: 15.94 kB / 0.6152 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5818, allocations: 4 kB / 0.6152 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.5821, allocations: 150.2 kB / 0.6154 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.583, allocations: 0.5927 MB / 0.6159 GB, free: 5.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.5835, allocations: 232.2 kB / 0.6162 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.5836, allocations: 65.3 kB / 0.6162 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.5836, allocations: 4.234 kB / 0.6162 GB, free: 4.863 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.5837, allocations: 42.73 kB / 0.6163 GB, free: 4.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.5837, allocations: 0 / 0.6163 GB, free: 4.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004309/0.5841, allocations: 219.9 kB / 0.6165 GB, free: 4.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.5842, allocations: 63.34 kB / 0.6165 GB, free: 4.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.5842, allocations: 93.86 kB / 0.6166 GB, free: 4.418 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.5843, allocations: 29.7 kB / 0.6167 GB, free: 4.383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.5844, allocations: 140.5 kB / 0.6168 GB, free: 4.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.5844, allocations: 86.73 kB / 0.6169 GB, free: 4.152 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/0.5844, allocations: 4 kB / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5846, allocations: 322.8 kB / 0.6172 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.5847, allocations: 43.97 kB / 0.6172 GB, free: 3.781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.502e-05/0.5848, allocations: 53.12 kB / 0.6173 GB, free: 3.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.585, allocations: 122.2 kB / 0.6174 GB, free: 3.609 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.585, allocations: 0 / 0.6174 GB, free: 3.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002599/0.5853, allocations: 173.5 kB / 0.6176 GB, free: 3.434 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5853, allocations: 11.94 kB / 0.6176 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5853, allocations: 3.938 kB / 0.6176 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5853, allocations: 3.984 kB / 0.6176 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.5857, allocations: 95.94 kB / 0.6177 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.5857, allocations: 0 / 0.6177 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.5857, allocations: 23.84 kB / 0.6177 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.5858, allocations: 8 kB / 0.6177 GB, free: 3.289 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.5859, allocations: 131.5 kB / 0.6178 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.5859, allocations: 11.84 kB / 0.6178 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.586, allocations: 25.12 kB / 0.6179 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.586, allocations: 7.938 kB / 0.6179 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.586, allocations: 0 / 0.6179 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.586, allocations: 0 / 0.6179 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.5863, allocations: 273.4 kB / 0.6181 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5863, allocations: 4 kB / 0.6181 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.5866, allocations: 99.88 kB / 0.6182 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5867, allocations: 3.938 kB / 0.6182 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.5867, allocations: 4 kB / 0.6182 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5867, allocations: 4 kB / 0.6182 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5867, allocations: 0 / 0.6182 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.587, allocations: 271.4 kB / 0.6185 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.5871, allocations: 96.8 kB / 0.6186 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.5871, allocations: 4 kB / 0.6186 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.5872, allocations: 12.47 kB / 0.6186 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.5872, allocations: 19.95 kB / 0.6186 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.5873, allocations: 12 kB / 0.6186 GB, free: 2.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.755e-05/0.5873, allocations: 83.53 kB / 0.6187 GB, free: 2.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5873, allocations: 0 / 0.6187 GB, free: 2.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002546/0.5876, allocations: 47.84 kB / 0.6188 GB, free: 2.113 MB / 426.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 () * 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 (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.000119/0.5877, allocations: 95.25 kB / 0.6189 GB, free: 2.012 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.5879, allocations: 136.3 kB / 0.619 GB, free: 1.879 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.588, allocations: 4 kB / 0.619 GB, free: 1.875 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.5881, allocations: 87.77 kB / 0.6191 GB, free: 1.789 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.5883, allocations: 12 kB / 0.6191 GB, free: 1.777 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.589, allocations: 0.5912 MB / 0.6197 GB, free: 1.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5894, allocations: 0.7283 MB / 0.6204 GB, free: 412 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.5895, allocations: 21.41 kB / 0.6204 GB, free: 392 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.5895, allocations: 15.44 kB / 0.6204 GB, free: 376 kB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5895, allocations: 4 kB / 0.6204 GB, free: 372 kB / 426.7 MB Notification: Performance of Templates: time 0.002928/0.5925, allocations: 0.8198 MB / 0.6212 GB, free: 15.55 MB / 442.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/jenkins1/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