Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.001012/0.001012, allocations: 182 kB / 13.23 MB, free: 2.086 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.555/1.555, allocations: 205.2 MB / 219 MB, free: 9.203 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.0008699/0.0008699, allocations: 96.06 kB / 267.1 MB, free: 9.266 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.08483/0.08483, allocations: 12.58 MB / 327.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.16e-05, allocations: 0 / 386 MB, free: 69.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 50.38 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.5052, allocations: 79.21 MB / 0.5035 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5055, allocations: 78.53 kB / 0.5036 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009436/0.5149, allocations: 3.463 MB / 0.507 GB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.515, allocations: 4 kB / 0.507 GB, free: 11.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.515, allocations: 3.875 kB / 0.507 GB, free: 11.13 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.0005351/0.5155, allocations: 0.4888 MB / 0.5074 GB, free: 10.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.5156, allocations: 7.719 kB / 0.5075 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.5157, allocations: 35.16 kB / 0.5075 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.5161, allocations: 302.8 kB / 0.5078 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.5162, allocations: 7.406 kB / 0.5078 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.5162, allocations: 14.52 kB / 0.5078 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.5165, allocations: 129 kB / 0.5079 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5165, allocations: 0 / 0.5079 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.5165, allocations: 6.797 kB / 0.5079 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.5165, allocations: 3.844 kB / 0.5079 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.5167, allocations: 63.23 kB / 0.508 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.5174, allocations: 0.5234 MB / 0.5085 GB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.5178, allocations: 171.1 kB / 0.5087 GB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.356e-05/0.5179, allocations: 58.78 kB / 0.5087 GB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.518, allocations: 0 / 0.5087 GB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.518, allocations: 41.88 kB / 0.5088 GB, free: 9.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.518, allocations: 0 / 0.5088 GB, free: 9.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001145/0.5191, allocations: 0.5973 MB / 0.5093 GB, free: 9.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.5192, allocations: 55.16 kB / 0.5094 GB, free: 9.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.5195, allocations: 299.4 kB / 0.5097 GB, free: 9.352 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.5195, allocations: 28.64 kB / 0.5097 GB, free: 9.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.5196, allocations: 167.2 kB / 0.5099 GB, free: 9.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.5196, allocations: 54.73 kB / 0.5099 GB, free: 9.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.5197, allocations: 7.594 kB / 0.5099 GB, free: 9.168 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.5197, allocations: 338 kB / 0.5103 GB, free: 8.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.5198, allocations: 61 kB / 0.5103 GB, free: 8.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.5199, allocations: 54.31 kB / 0.5104 GB, free: 8.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.52, allocations: 71.53 kB / 0.5104 GB, free: 8.828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.52, allocations: 0 / 0.5104 GB, free: 8.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002645/0.5203, allocations: 203.1 kB / 0.5106 GB, free: 8.766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.5204, allocations: 15.67 kB / 0.5106 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5204, allocations: 0 / 0.5106 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5204, allocations: 0 / 0.5106 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.5207, allocations: 65.22 kB / 0.5107 GB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5207, allocations: 7.953 kB / 0.5107 GB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.5209, allocations: 7.281 kB / 0.5107 GB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.5209, allocations: 3.906 kB / 0.5107 GB, free: 8.738 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 () * 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 6.114e-05/0.521, allocations: 114.5 kB / 0.5108 GB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.521, allocations: 31.28 kB / 0.5109 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.5214, allocations: 217.7 kB / 0.5111 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5214, allocations: 0 / 0.5111 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5214, allocations: 0 / 0.5111 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5214, allocations: 3.938 kB / 0.5111 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.5217, allocations: 324.9 kB / 0.5114 GB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5217, allocations: 0 / 0.5114 GB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.5221, allocations: 54.14 kB / 0.5114 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5221, allocations: 7.656 kB / 0.5114 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.5221, allocations: 3.375 kB / 0.5114 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5221, allocations: 7.797 kB / 0.5114 GB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5221, allocations: 3.938 kB / 0.5115 GB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.5225, allocations: 372.9 kB / 0.5118 GB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.5226, allocations: 110.8 kB / 0.5119 GB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.5227, allocations: 6.531 kB / 0.5119 GB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.5229, allocations: 10.91 kB / 0.5119 GB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.5229, allocations: 15.8 kB / 0.5119 GB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.5229, allocations: 10.77 kB / 0.512 GB, free: 7.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.5231, allocations: 247.1 kB / 0.5122 GB, free: 7.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5231, allocations: 0 / 0.5122 GB, free: 7.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000251/0.5234, allocations: 47.88 kB / 0.5122 GB, free: 7.859 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 () * 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.0001184/0.5235, allocations: 105.9 kB / 0.5123 GB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.5238, allocations: 139.6 kB / 0.5125 GB, free: 7.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5238, allocations: 4 kB / 0.5125 GB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.5239, allocations: 82.52 kB / 0.5126 GB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.5242, allocations: 44.25 kB / 0.5126 GB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.5253, allocations: 0.6007 MB / 0.5132 GB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.5255, allocations: 0.7693 MB / 0.5139 GB, free: 6.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.5256, allocations: 33.25 kB / 0.514 GB, free: 6.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.5257, allocations: 29.92 kB / 0.514 GB, free: 6.562 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5257, allocations: 0 / 0.514 GB, free: 6.562 MB / 330.7 MB Notification: Performance of Templates: time 0.005374/0.5311, allocations: 2.457 MB / 0.5164 GB, free: 5.363 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches