Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|invMixingUnit.T|invMixingUnit.T_c|mixingUnit.c",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|invMixingUnit.T|invMixingUnit.T_c|mixingUnit.c",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 185.3 kB / 16.44 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 222.6 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 95.53 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1003/0.1003, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005758/0.0005759, allocations: 19.98 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09148, allocations: 50.36 MB / 442.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4395/0.5311, allocations: 79.3 MB / 0.5094 GB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004167/0.5315, allocations: 85.66 kB / 0.5095 GB, free: 12.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02135/0.5529, allocations: 3.478 MB / 0.5129 GB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.553, allocations: 0 / 0.5129 GB, free: 11.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.553, allocations: 3.906 kB / 0.5129 GB, free: 11.21 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001149/0.5542, allocations: 0.5879 MB / 0.5135 GB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5542, allocations: 15.62 kB / 0.5135 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.5543, allocations: 34.88 kB / 0.5135 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.5548, allocations: 289 kB / 0.5138 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5548, allocations: 11.28 kB / 0.5138 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.5549, allocations: 14.92 kB / 0.5138 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.5552, allocations: 137 kB / 0.514 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5552, allocations: 0 / 0.514 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.5553, allocations: 3.375 kB / 0.514 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5553, allocations: 3.938 kB / 0.514 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.5556, allocations: 83.55 kB / 0.514 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.5565, allocations: 0.5284 MB / 0.5146 GB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.5573, allocations: 176.4 kB / 0.5147 GB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.5573, allocations: 6.203 kB / 0.5147 GB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.5573, allocations: 34.56 kB / 0.5148 GB, free: 9.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.5574, allocations: 0 / 0.5148 GB, free: 9.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002081/0.5594, allocations: 0.6703 MB / 0.5154 GB, free: 9.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5595, allocations: 62.77 kB / 0.5155 GB, free: 9.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.56, allocations: 301.4 kB / 0.5158 GB, free: 9.328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.56, allocations: 25.7 kB / 0.5158 GB, free: 9.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.5601, allocations: 198.4 kB / 0.516 GB, free: 9.137 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.5602, allocations: 68.97 kB / 0.5161 GB, free: 9.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.5602, allocations: 7.625 kB / 0.5161 GB, free: 9.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.5602, allocations: 317.6 kB / 0.5164 GB, free: 8.773 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.5605, allocations: 64.09 kB / 0.5164 GB, free: 8.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.5607, allocations: 68.28 kB / 0.5165 GB, free: 8.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.5609, allocations: 68.34 kB / 0.5166 GB, free: 8.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5609, allocations: 0 / 0.5166 GB, free: 8.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005088/0.5614, allocations: 199.4 kB / 0.5167 GB, free: 8.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5615, allocations: 3.844 kB / 0.5167 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5615, allocations: 4.828 kB / 0.5168 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5615, allocations: 0 / 0.5168 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.562, allocations: 66.3 kB / 0.5168 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.562, allocations: 224 / 0.5168 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.5623, allocations: 15.59 kB / 0.5168 GB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.5624, allocations: 11.12 kB / 0.5168 GB, free: 8.66 MB / 330.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 (21): * Single equations (assignments): 21 * 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.000141/0.5625, allocations: 135.8 kB / 0.517 GB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.5626, allocations: 31.22 kB / 0.517 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.5632, allocations: 223.5 kB / 0.5172 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5632, allocations: 8.812 kB / 0.5172 GB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5633, allocations: 4 kB / 0.5172 GB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5633, allocations: 3.938 kB / 0.5172 GB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.5637, allocations: 322.5 kB / 0.5175 GB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5637, allocations: 0 / 0.5175 GB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/0.5643, allocations: 57.98 kB / 0.5176 GB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.391e-06/0.5644, allocations: 11.78 kB / 0.5176 GB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.5644, allocations: 3.984 kB / 0.5176 GB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5644, allocations: 3.938 kB / 0.5176 GB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5644, allocations: 7.828 kB / 0.5176 GB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.5652, allocations: 394 kB / 0.518 GB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.5653, allocations: 104.2 kB / 0.5181 GB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.5654, allocations: 7.953 kB / 0.5181 GB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.5657, allocations: 7.438 kB / 0.5181 GB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.5658, allocations: 15.78 kB / 0.5181 GB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.5658, allocations: 11.3 kB / 0.5181 GB, free: 7.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003282/0.5662, allocations: 250.7 kB / 0.5184 GB, free: 7.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5662, allocations: 0 / 0.5184 GB, free: 7.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.5666, allocations: 46.12 kB / 0.5184 GB, free: 7.742 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * 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 (18): * Single equations (assignments): 18 * 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.0001275/0.5667, allocations: 106.2 kB / 0.5185 GB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.5672, allocations: 157.2 kB / 0.5187 GB, free: 7.629 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5672, allocations: 4 kB / 0.5187 GB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.5675, allocations: 81.22 kB / 0.5187 GB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.5678, allocations: 32.39 kB / 0.5188 GB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.5696, allocations: 0.8857 MB / 0.5196 GB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.5699, allocations: 0.7735 MB / 0.5204 GB, free: 6.211 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.5701, allocations: 29.73 kB / 0.5204 GB, free: 6.199 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5701, allocations: 0 / 0.5204 GB, free: 6.199 MB / 330.7 MB Notification: Performance of Templates: time 0.006326/0.5764, allocations: 2.993 MB / 0.5234 GB, free: 3.336 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches