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.002363/0.002362, allocations: 178.1 kB / 8.402 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.3 MB / 214.1 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 90.2 kB / 262.1 MB, free: 1.695 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.1019/0.1019, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.156e-05, allocations: 0 / 378.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3053, allocations: 50.37 MB / 429.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.447, allocations: 78.55 MB / 0.4959 GB, free: 3.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.4473, allocations: 79.95 kB / 0.496 GB, free: 3.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01653/0.4639, allocations: 3.439 MB / 0.4994 GB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.464, allocations: 0 / 0.4994 GB, free: 232 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.464, allocations: 4 kB / 0.4994 GB, free: 228 kB / 346.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.0009252/0.4649, allocations: 0.4899 MB / 0.4999 GB, free: 15.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.465, allocations: 12.03 kB / 0.4999 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.715e-05/0.4651, allocations: 27.62 kB / 0.4999 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.4657, allocations: 311.8 kB / 0.5002 GB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.4658, allocations: 4 kB / 0.5002 GB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.4658, allocations: 11.95 kB / 0.5002 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002328/0.4661, allocations: 64 kB / 0.5003 GB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.4664, allocations: 103.1 kB / 0.5004 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4664, allocations: 0 / 0.5004 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.4664, allocations: 0 / 0.5004 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4664, allocations: 4 kB / 0.5004 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.4676, allocations: 0.4891 MB / 0.5008 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.4684, allocations: 162.7 kB / 0.501 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4685, allocations: 52.86 kB / 0.5011 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.4686, allocations: 0 / 0.5011 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.4686, allocations: 30.78 kB / 0.5011 GB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 5.15e-06/0.4686, allocations: 7.984 kB / 0.5011 GB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001933/0.4706, allocations: 0.5843 MB / 0.5017 GB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4707, allocations: 51.41 kB / 0.5017 GB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.4712, allocations: 281.2 kB / 0.502 GB, free: 13.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.4712, allocations: 25.7 kB / 0.502 GB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.4714, allocations: 206.8 kB / 0.5022 GB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.4715, allocations: 63.09 kB / 0.5023 GB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.4715, allocations: 0 / 0.5023 GB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4716, allocations: 318.8 kB / 0.5026 GB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.4718, allocations: 56.36 kB / 0.5026 GB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.472, allocations: 56.5 kB / 0.5027 GB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.4722, allocations: 60.91 kB / 0.5027 GB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4722, allocations: 0 / 0.5027 GB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004859/0.4727, allocations: 171.2 kB / 0.5029 GB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.4728, allocations: 11.92 kB / 0.5029 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4728, allocations: 0 / 0.5029 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.4728, allocations: 7.953 kB / 0.5029 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.4734, allocations: 59.91 kB / 0.503 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4734, allocations: 0 / 0.503 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.4737, allocations: 7.984 kB / 0.503 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.4737, allocations: 8 kB / 0.503 GB, free: 12.29 MB / 362.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 () * 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.0001176/0.4739, allocations: 105 kB / 0.5031 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.474, allocations: 27.62 kB / 0.5031 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.4745, allocations: 192.3 kB / 0.5033 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4746, allocations: 8 kB / 0.5033 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4746, allocations: 7.953 kB / 0.5033 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4746, allocations: 3.984 kB / 0.5033 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.4751, allocations: 286 kB / 0.5036 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4751, allocations: 0 / 0.5036 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.4758, allocations: 59.95 kB / 0.5036 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.4758, allocations: 4 kB / 0.5036 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.4759, allocations: 0 / 0.5036 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4759, allocations: 0 / 0.5036 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4759, allocations: 4 kB / 0.5037 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.4767, allocations: 362.9 kB / 0.504 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.4768, allocations: 112.7 kB / 0.5041 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.4769, allocations: 3.984 kB / 0.5041 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.4773, allocations: 4 kB / 0.5041 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.4773, allocations: 11.98 kB / 0.5041 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.4774, allocations: 3.984 kB / 0.5041 GB, free: 11.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000419/0.4778, allocations: 236.6 kB / 0.5044 GB, free: 10.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4778, allocations: 0 / 0.5044 GB, free: 10.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.4783, allocations: 43.98 kB / 0.5044 GB, free: 10.75 MB / 362.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 () * 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.0001835/0.4784, allocations: 107.1 kB / 0.5045 GB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.4789, allocations: 136.5 kB / 0.5046 GB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4789, allocations: 0 / 0.5046 GB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.4791, allocations: 75.92 kB / 0.5047 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4795, allocations: 33.2 kB / 0.5047 GB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.4814, allocations: 0.6219 MB / 0.5053 GB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.4819, allocations: 0.7794 MB / 0.5061 GB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.4822, allocations: 23.44 kB / 0.5061 GB, free: 8.914 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4822, allocations: 0 / 0.5061 GB, free: 8.914 MB / 362.7 MB Notification: Performance of Templates: time 0.008237/0.4904, allocations: 2.988 MB / 0.509 GB, free: 5.938 MB / 362.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