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/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/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.001432/0.001433, allocations: 177.2 kB / 17.45 MB, free: 4.246 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.625/2.625, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001241/0.00124, allocations: 94.39 kB / 272 MB, free: 8.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.154/0.154, allocations: 12.21 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008161/0.0008161, allocations: 12 kB / 392.7 MB, free: 67.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1725, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.53/0.7026, allocations: 79.27 MB / 0.51 GB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003809/0.703, allocations: 86.69 kB / 0.5101 GB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.7183, allocations: 3.479 MB / 0.5135 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.599e-06/0.7184, allocations: 0 / 0.5135 GB, free: 11.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.689e-05/0.7185, allocations: 3.844 kB / 0.5135 GB, free: 11.73 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.001456/0.7199, allocations: 0.5821 MB / 0.5141 GB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.039e-05/0.72, allocations: 11.69 kB / 0.5141 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.7202, allocations: 32.09 kB / 0.5141 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.7209, allocations: 310 kB / 0.5144 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.721, allocations: 11.03 kB / 0.5144 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.721, allocations: 11.16 kB / 0.5145 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.7215, allocations: 141.2 kB / 0.5146 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.7215, allocations: 0 / 0.5146 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.7216, allocations: 3.688 kB / 0.5146 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.7216, allocations: 7.844 kB / 0.5146 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.7219, allocations: 84.39 kB / 0.5147 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.7232, allocations: 0.5262 MB / 0.5152 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.724, allocations: 179.5 kB / 0.5154 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.7242, allocations: 70.91 kB / 0.5154 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.7242, allocations: 0 / 0.5154 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.7243, allocations: 30.56 kB / 0.5155 GB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.7243, allocations: 3.844 kB / 0.5155 GB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002313/0.7266, allocations: 0.6725 MB / 0.5161 GB, free: 10.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.7267, allocations: 55.34 kB / 0.5162 GB, free: 9.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.7273, allocations: 335.2 kB / 0.5165 GB, free: 9.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.7273, allocations: 29.7 kB / 0.5165 GB, free: 9.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.7274, allocations: 153.8 kB / 0.5167 GB, free: 9.676 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.549e-05/0.7275, allocations: 65.12 kB / 0.5167 GB, free: 9.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.7276, allocations: 3.938 kB / 0.5167 GB, free: 9.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.7277, allocations: 340.3 kB / 0.5171 GB, free: 9.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.7279, allocations: 59.34 kB / 0.5171 GB, free: 9.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.7281, allocations: 69.59 kB / 0.5172 GB, free: 9.285 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.7286, allocations: 153.4 kB / 0.5173 GB, free: 9.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7287, allocations: 0 / 0.5173 GB, free: 9.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006267/0.7293, allocations: 215.1 kB / 0.5175 GB, free: 9.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.7294, allocations: 7.625 kB / 0.5175 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7294, allocations: 0 / 0.5175 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.7294, allocations: 0 / 0.5175 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.7299, allocations: 65.44 kB / 0.5176 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.7299, allocations: 3.969 kB / 0.5176 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.7302, allocations: 11.52 kB / 0.5176 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.7302, allocations: 7.812 kB / 0.5176 GB, free: 9.168 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.000184/0.7304, allocations: 138.5 kB / 0.5178 GB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.7305, allocations: 27.03 kB / 0.5178 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.7312, allocations: 232.8 kB / 0.518 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7312, allocations: 3.875 kB / 0.518 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.7313, allocations: 4 kB / 0.518 GB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7313, allocations: 0 / 0.518 GB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.7318, allocations: 326.5 kB / 0.5183 GB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7318, allocations: 0 / 0.5183 GB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.7324, allocations: 62.45 kB / 0.5184 GB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.7324, allocations: 0 / 0.5184 GB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.7325, allocations: 11.25 kB / 0.5184 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7325, allocations: 3.984 kB / 0.5184 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7325, allocations: 3.938 kB / 0.5184 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.7334, allocations: 391.4 kB / 0.5188 GB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.7335, allocations: 108.3 kB / 0.5189 GB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.7336, allocations: 7.781 kB / 0.5189 GB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.7339, allocations: 11.52 kB / 0.5189 GB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.734, allocations: 7.797 kB / 0.5189 GB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.734, allocations: 7.125 kB / 0.5189 GB, free: 8.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003835/0.7344, allocations: 251.1 kB / 0.5192 GB, free: 8.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7344, allocations: 3.938 kB / 0.5192 GB, free: 8.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005394/0.735, allocations: 49.97 kB / 0.5192 GB, free: 8.254 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.00017/0.7352, allocations: 102.4 kB / 0.5193 GB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005271/0.7357, allocations: 157.5 kB / 0.5194 GB, free: 8.141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7357, allocations: 0 / 0.5194 GB, free: 8.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.736, allocations: 94.45 kB / 0.5195 GB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.7367, allocations: 30.72 kB / 0.5196 GB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.7387, allocations: 0.8911 MB / 0.5204 GB, free: 7.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.739, allocations: 0.7618 MB / 0.5212 GB, free: 6.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.7392, allocations: 29.67 kB / 0.5212 GB, free: 6.715 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.7392, allocations: 0 / 0.5212 GB, free: 6.715 MB / 330.7 MB Notification: Performance of Templates: time 0.007955/0.7471, allocations: 3.069 MB / 0.5242 GB, free: 3.777 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