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.0009045/0.0009046, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.174/1.174, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008527/0.0008527, allocations: 103 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2609/0.2609, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002279/0.000228, allocations: 8 kB / 468.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2556, allocations: 63.24 MB / 0.5192 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09048/0.3461, allocations: 91.84 MB / 0.6089 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/0.3463, allocations: 67.97 kB / 0.6089 GB, free: 13.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0165/0.3628, allocations: 6.332 MB / 0.6151 GB, free: 7.344 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3629, allocations: 0 / 0.6151 GB, free: 7.344 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3629, allocations: 4 kB / 0.6151 GB, free: 7.34 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.0004368/0.3633, allocations: 499 kB / 0.6156 GB, free: 6.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3634, allocations: 12.03 kB / 0.6156 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/0.3641, allocations: 79.66 kB / 0.6157 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3643, allocations: 190.7 kB / 0.6159 GB, free: 6.488 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.3643, allocations: 20.56 kB / 0.6159 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.3643, allocations: 24 kB / 0.6159 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.3647, allocations: 204.9 kB / 0.6161 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3647, allocations: 0 / 0.6161 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.3647, allocations: 12 kB / 0.6161 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3647, allocations: 4 kB / 0.6161 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.365, allocations: 150.1 kB / 0.6163 GB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.3657, allocations: 0.6005 MB / 0.6168 GB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.3662, allocations: 225.3 kB / 0.6171 GB, free: 5.191 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.87e-05/0.3662, allocations: 4.234 kB / 0.6171 GB, free: 5.188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3663, allocations: 34.8 kB / 0.6171 GB, free: 5.145 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.3663, allocations: 4 kB / 0.6171 GB, free: 5.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004149/0.3667, allocations: 224.3 kB / 0.6173 GB, free: 4.918 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.3667, allocations: 51.41 kB / 0.6174 GB, free: 4.855 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.778e-05/0.3668, allocations: 96.98 kB / 0.6175 GB, free: 4.754 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3668, allocations: 29.7 kB / 0.6175 GB, free: 4.719 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.3669, allocations: 132.5 kB / 0.6176 GB, free: 4.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.3669, allocations: 90.67 kB / 0.6177 GB, free: 4.496 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.367, allocations: 4 kB / 0.6177 GB, free: 4.492 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.367, allocations: 322.8 kB / 0.618 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.3671, allocations: 39.97 kB / 0.618 GB, free: 4.129 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.3672, allocations: 49.14 kB / 0.6181 GB, free: 4.082 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3673, allocations: 57.33 kB / 0.6181 GB, free: 4.027 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3673, allocations: 4 kB / 0.6181 GB, free: 4.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000257/0.3676, allocations: 177.3 kB / 0.6183 GB, free: 3.844 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3676, allocations: 4 kB / 0.6183 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3676, allocations: 0 / 0.6183 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.3677, allocations: 4 kB / 0.6183 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.368, allocations: 103.9 kB / 0.6184 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.368, allocations: 0 / 0.6184 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.3681, allocations: 15.84 kB / 0.6184 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3681, allocations: 4 kB / 0.6184 GB, free: 3.715 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 9.184e-05/0.3682, allocations: 133.8 kB / 0.6186 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.3683, allocations: 19.8 kB / 0.6186 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/0.3683, allocations: 21.12 kB / 0.6186 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3683, allocations: 0 / 0.6186 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3684, allocations: 8 kB / 0.6186 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3684, allocations: 0 / 0.6186 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.3686, allocations: 269.4 kB / 0.6189 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3686, allocations: 0 / 0.6189 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.369, allocations: 103.9 kB / 0.619 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.369, allocations: 11.94 kB / 0.619 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.369, allocations: 4 kB / 0.619 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.369, allocations: 4 kB / 0.619 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.369, allocations: 0 / 0.619 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.3693, allocations: 271.3 kB / 0.6193 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.3694, allocations: 93.11 kB / 0.6193 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3694, allocations: 11.95 kB / 0.6194 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3695, allocations: 16.53 kB / 0.6194 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3695, allocations: 11.97 kB / 0.6194 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3695, allocations: 8 kB / 0.6194 GB, free: 2.656 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.211e-05/0.3696, allocations: 83.28 kB / 0.6195 GB, free: 2.574 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3696, allocations: 0 / 0.6195 GB, free: 2.574 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.3699, allocations: 47.84 kB / 0.6195 GB, free: 2.527 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 9.567e-05/0.37, allocations: 95.25 kB / 0.6196 GB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.3702, allocations: 136.3 kB / 0.6197 GB, free: 2.293 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3702, allocations: 0 / 0.6197 GB, free: 2.293 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3704, allocations: 88.23 kB / 0.6198 GB, free: 2.207 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.3705, allocations: 4 kB / 0.6198 GB, free: 2.203 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.3712, allocations: 0.5982 MB / 0.6204 GB, free: 1.578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3714, allocations: 0.7402 MB / 0.6211 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3715, allocations: 13.42 kB / 0.6211 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.3716, allocations: 19.42 kB / 0.6212 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3716, allocations: 0 / 0.6212 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of Templates: time 0.002571/0.3741, allocations: 0.816 MB / 0.622 GB, free: 15.96 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/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