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.001125/0.001125, allocations: 180.6 kB / 15.8 MB, free: 6.34 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.602/1.602, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009694/0.0009695, allocations: 102.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0748/0.0748, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 9.688 kB / 392 MB, free: 54.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1083, allocations: 50.37 MB / 442.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.2215, allocations: 79.3 MB / 0.5095 GB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.2217, allocations: 87.94 kB / 0.5095 GB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01011/0.2319, allocations: 3.476 MB / 0.5129 GB, free: 7.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2319, allocations: 0 / 0.5129 GB, free: 7.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.2319, allocations: 7.938 kB / 0.5129 GB, free: 7.945 MB / 362.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.0008866/0.2328, allocations: 0.5837 MB / 0.5135 GB, free: 7.312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2329, allocations: 12.03 kB / 0.5135 GB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.233, allocations: 31.53 kB / 0.5135 GB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.2334, allocations: 303 kB / 0.5138 GB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2334, allocations: 8 kB / 0.5138 GB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.2335, allocations: 19.89 kB / 0.5139 GB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.2337, allocations: 129.5 kB / 0.514 GB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2337, allocations: 0 / 0.514 GB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2338, allocations: 4 kB / 0.514 GB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2338, allocations: 4 kB / 0.514 GB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.234, allocations: 79.95 kB / 0.5141 GB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.2348, allocations: 0.5198 MB / 0.5146 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.2353, allocations: 190.6 kB / 0.5148 GB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.2353, allocations: 0 / 0.5148 GB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2354, allocations: 30.56 kB / 0.5148 GB, free: 5.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.697e-06/0.2354, allocations: 0 / 0.5148 GB, free: 5.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001503/0.2369, allocations: 0.6827 MB / 0.5155 GB, free: 5.152 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.2369, allocations: 51.41 kB / 0.5155 GB, free: 5.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.2373, allocations: 307.7 kB / 0.5158 GB, free: 4.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2374, allocations: 29.7 kB / 0.5158 GB, free: 4.742 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2375, allocations: 156.3 kB / 0.516 GB, free: 4.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.2375, allocations: 67.09 kB / 0.516 GB, free: 4.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.2375, allocations: 0 / 0.516 GB, free: 4.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2377, allocations: 338.8 kB / 0.5164 GB, free: 4.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2378, allocations: 64.34 kB / 0.5164 GB, free: 4.113 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.2379, allocations: 64.72 kB / 0.5165 GB, free: 4.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2381, allocations: 72.92 kB / 0.5166 GB, free: 3.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2381, allocations: 0 / 0.5166 GB, free: 3.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003554/0.2385, allocations: 218.7 kB / 0.5168 GB, free: 3.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2385, allocations: 4 kB / 0.5168 GB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2385, allocations: 3.953 kB / 0.5168 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2385, allocations: 4 kB / 0.5168 GB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.2388, allocations: 59.91 kB / 0.5168 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2389, allocations: 4 kB / 0.5168 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.239, allocations: 11.98 kB / 0.5168 GB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.239, allocations: 8 kB / 0.5169 GB, free: 3.668 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 () * 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.0001316/0.2392, allocations: 133.6 kB / 0.517 GB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.2392, allocations: 31.61 kB / 0.517 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.2397, allocations: 240.5 kB / 0.5172 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2397, allocations: 3.953 kB / 0.5172 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2397, allocations: 0 / 0.5172 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2397, allocations: 4 kB / 0.5173 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.24, allocations: 317.4 kB / 0.5176 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.24, allocations: 0 / 0.5176 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.2404, allocations: 63.89 kB / 0.5176 GB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2404, allocations: 4 kB / 0.5176 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2404, allocations: 4 kB / 0.5176 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2405, allocations: 0 / 0.5176 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2405, allocations: 7.953 kB / 0.5176 GB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.241, allocations: 389.6 kB / 0.518 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.2411, allocations: 112.7 kB / 0.5181 GB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.2412, allocations: 11.94 kB / 0.5181 GB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.2414, allocations: 12 kB / 0.5181 GB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.2414, allocations: 15.92 kB / 0.5181 GB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2415, allocations: 4 kB / 0.5182 GB, free: 2.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000253/0.2417, allocations: 251 kB / 0.5184 GB, free: 2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2417, allocations: 0 / 0.5184 GB, free: 2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.242, allocations: 48 kB / 0.5184 GB, free: 1.953 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 () * 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.0001454/0.2421, allocations: 103.2 kB / 0.5185 GB, free: 1.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.2425, allocations: 160.4 kB / 0.5187 GB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2425, allocations: 0 / 0.5187 GB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.2427, allocations: 87.89 kB / 0.5188 GB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.243, allocations: 33.03 kB / 0.5188 GB, free: 1.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.2443, allocations: 0.8539 MB / 0.5196 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2024/0.4468, allocations: 0.7728 MB / 0.5204 GB, free: 84.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.4471, allocations: 35.84 kB / 0.5204 GB, free: 84.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.4472, allocations: 21.03 kB / 0.5204 GB, free: 84.84 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4472, allocations: 1.438 kB / 0.5204 GB, free: 84.84 MB / 362.7 MB Notification: Performance of Templates: time 0.006572/0.4538, allocations: 2.429 MB / 0.5228 GB, free: 84.77 MB / 362.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