Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001201, allocations: 177.6 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008858/0.0008859, allocations: 89.75 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2919/0.2919, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3261, allocations: 61.91 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4466, allocations: 90.77 MB / 0.5982 GB, free: 4.332 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.4469, allocations: 63.97 kB / 0.5983 GB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01676/0.4636, allocations: 6.229 MB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4637, allocations: 4 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.4637, allocations: 4 kB / 0.6043 GB, free: 13.93 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.0006048/0.4643, allocations: 499 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4644, allocations: 8.031 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007361/0.4651, allocations: 63.77 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.4652, allocations: 182.8 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.4653, allocations: 28.5 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.4653, allocations: 27.95 kB / 0.6051 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.4656, allocations: 200.9 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4657, allocations: 0 / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.4657, allocations: 15.98 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4657, allocations: 4 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.466, allocations: 146.2 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.4667, allocations: 0.5928 MB / 0.606 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.4672, allocations: 227.6 kB / 0.6063 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.4672, allocations: 4.172 kB / 0.6063 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4673, allocations: 38.8 kB / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.4673, allocations: 0 / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003988/0.4677, allocations: 228.2 kB / 0.6065 GB, free: 11.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.4677, allocations: 55.41 kB / 0.6066 GB, free: 11.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.4678, allocations: 93 kB / 0.6067 GB, free: 11.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.4678, allocations: 29.7 kB / 0.6067 GB, free: 11.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.4679, allocations: 136.6 kB / 0.6068 GB, free: 11.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.4679, allocations: 86.66 kB / 0.6069 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.468, allocations: 8 kB / 0.6069 GB, free: 11.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.4681, allocations: 318.8 kB / 0.6072 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.4682, allocations: 47.97 kB / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.4683, allocations: 43.91 kB / 0.6073 GB, free: 10.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.936e-05/0.4684, allocations: 61.39 kB / 0.6074 GB, free: 10.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4684, allocations: 0 / 0.6074 GB, free: 10.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002533/0.4686, allocations: 173.4 kB / 0.6075 GB, free: 10.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4687, allocations: 4 kB / 0.6075 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4687, allocations: 0 / 0.6075 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.4687, allocations: 256 / 0.6075 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.469, allocations: 107.8 kB / 0.6076 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.4691, allocations: 8 kB / 0.6076 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.4691, allocations: 23.72 kB / 0.6077 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4691, allocations: 8 kB / 0.6077 GB, free: 10.3 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.592e-05/0.4692, allocations: 126.3 kB / 0.6078 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.4693, allocations: 7.906 kB / 0.6078 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.4694, allocations: 33.11 kB / 0.6078 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4694, allocations: 4 kB / 0.6078 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4694, allocations: 3.953 kB / 0.6078 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4694, allocations: 0 / 0.6078 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.4696, allocations: 273.4 kB / 0.6081 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4696, allocations: 0 / 0.6081 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.47, allocations: 91.95 kB / 0.6082 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.47, allocations: 4 kB / 0.6082 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.47, allocations: 11.98 kB / 0.6082 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.47, allocations: 3.938 kB / 0.6082 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.47, allocations: 0 / 0.6082 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.4703, allocations: 271.3 kB / 0.6085 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.4704, allocations: 92.86 kB / 0.6086 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.4704, allocations: 8 kB / 0.6086 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.4705, allocations: 8 kB / 0.6086 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.4705, allocations: 11.98 kB / 0.6086 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4705, allocations: 11.98 kB / 0.6086 GB, free: 9.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.471e-05/0.4706, allocations: 79.28 kB / 0.6087 GB, free: 9.191 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4706, allocations: 0 / 0.6087 GB, free: 9.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.4708, allocations: 55.73 kB / 0.6087 GB, free: 9.137 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 8.62e-05/0.4709, allocations: 99.19 kB / 0.6088 GB, free: 9.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.4712, allocations: 139.9 kB / 0.6089 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.4712, allocations: 0 / 0.6089 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.4713, allocations: 80.84 kB / 0.609 GB, free: 8.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.4714, allocations: 4 kB / 0.609 GB, free: 8.812 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.4721, allocations: 0.5996 MB / 0.6096 GB, free: 8.184 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4723, allocations: 0.7363 MB / 0.6103 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.4724, allocations: 21.41 kB / 0.6104 GB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.4725, allocations: 15.44 kB / 0.6104 GB, free: 7.383 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4725, allocations: 0 / 0.6104 GB, free: 7.383 MB / 426.7 MB Notification: Performance of Templates: time 0.0025/0.475, allocations: 0.8108 MB / 0.6112 GB, free: 6.574 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches