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.0008691/0.000869, allocations: 178.7 kB / 18.09 MB, free: 3.746 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.176/1.176, allocations: 223.3 MB / 242.1 MB, free: 9.965 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.0007835/0.0007835, allocations: 103.4 kB / 293.3 MB, free: 10.56 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.2625/0.2625, allocations: 44.14 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 12 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2573, allocations: 61.87 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09577/0.3531, allocations: 90.8 MB / 0.5994 GB, free: 4.277 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.3533, allocations: 67.95 kB / 0.5994 GB, free: 4.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.3689, allocations: 6.237 MB / 0.6055 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.369, allocations: 0 / 0.6055 GB, free: 13.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.369, allocations: 4 kB / 0.6055 GB, free: 13.86 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.0004929/0.3695, allocations: 491.2 kB / 0.606 GB, free: 13.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3695, allocations: 11.97 kB / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006971/0.3702, allocations: 68.7 kB / 0.6061 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3704, allocations: 188 kB / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3704, allocations: 16.94 kB / 0.6063 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.3704, allocations: 32.36 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.3708, allocations: 197.5 kB / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3708, allocations: 192 / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.3708, allocations: 19.94 kB / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3708, allocations: 4 kB / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.3711, allocations: 150.1 kB / 0.6067 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.3719, allocations: 0.6005 MB / 0.6073 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.3723, allocations: 231.5 kB / 0.6075 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3725, allocations: 69.3 kB / 0.6075 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3725, allocations: 4.234 kB / 0.6075 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3725, allocations: 38.73 kB / 0.6076 GB, free: 11.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/0.3725, allocations: 0 / 0.6076 GB, free: 11.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003951/0.3729, allocations: 219.9 kB / 0.6078 GB, free: 11.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.373, allocations: 59.34 kB / 0.6078 GB, free: 11.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.373, allocations: 101.8 kB / 0.6079 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.373, allocations: 29.7 kB / 0.608 GB, free: 11.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.3731, allocations: 136.5 kB / 0.6081 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.3732, allocations: 86.73 kB / 0.6082 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.3732, allocations: 0 / 0.6082 GB, free: 10.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.3733, allocations: 330.8 kB / 0.6085 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.3734, allocations: 39.98 kB / 0.6085 GB, free: 10.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.3735, allocations: 47.95 kB / 0.6086 GB, free: 10.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.3736, allocations: 118.2 kB / 0.6087 GB, free: 10.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3737, allocations: 3.938 kB / 0.6087 GB, free: 10.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002528/0.3739, allocations: 177.4 kB / 0.6089 GB, free: 10.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3739, allocations: 15.88 kB / 0.6089 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.374, allocations: 0 / 0.6089 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.374, allocations: 0 / 0.6089 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.3743, allocations: 95.94 kB / 0.609 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3743, allocations: 7.984 kB / 0.609 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.3744, allocations: 19.84 kB / 0.609 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3744, allocations: 7.938 kB / 0.609 GB, free: 10.09 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 8.819e-05/0.3745, allocations: 129.8 kB / 0.6091 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.3745, allocations: 11.84 kB / 0.6091 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.3746, allocations: 21.12 kB / 0.6092 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3746, allocations: 4 kB / 0.6092 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3746, allocations: 0 / 0.6092 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3746, allocations: 7.984 kB / 0.6092 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.3749, allocations: 265.4 kB / 0.6094 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3749, allocations: 0 / 0.6094 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.3752, allocations: 104.1 kB / 0.6095 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3752, allocations: 3.938 kB / 0.6095 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3752, allocations: 8 kB / 0.6095 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3752, allocations: 8 kB / 0.6095 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3752, allocations: 0 / 0.6095 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.3755, allocations: 267.4 kB / 0.6098 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.3756, allocations: 96.8 kB / 0.6099 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3756, allocations: 7.938 kB / 0.6099 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.3757, allocations: 11.98 kB / 0.6099 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3757, allocations: 19.97 kB / 0.6099 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3758, allocations: 8 kB / 0.6099 GB, free: 9.043 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.3758, allocations: 83.27 kB / 0.61 GB, free: 8.961 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3758, allocations: 0 / 0.61 GB, free: 8.961 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000245/0.376, allocations: 51.78 kB / 0.6101 GB, free: 8.91 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.219e-05/0.3761, allocations: 95.78 kB / 0.6102 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3764, allocations: 136.3 kB / 0.6103 GB, free: 8.676 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3764, allocations: 0 / 0.6103 GB, free: 8.676 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3765, allocations: 87.81 kB / 0.6104 GB, free: 8.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.3767, allocations: 8 kB / 0.6104 GB, free: 8.582 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.3774, allocations: 0.6034 MB / 0.611 GB, free: 7.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3776, allocations: 0.7322 MB / 0.6117 GB, free: 7.191 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.3777, allocations: 21.41 kB / 0.6117 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.3778, allocations: 15.44 kB / 0.6117 GB, free: 7.156 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3778, allocations: 3.938 kB / 0.6117 GB, free: 7.152 MB / 426.7 MB Notification: Performance of Templates: time 0.002749/0.3805, allocations: 0.8062 MB / 0.6125 GB, free: 6.348 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/jenkins1/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