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.001058/0.001058, allocations: 172 kB / 16.8 MB, free: 4.902 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.485/1.485, allocations: 205.4 MB / 223 MB, free: 8.926 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.0007315/0.0007314, allocations: 90.36 kB / 271.3 MB, free: 8.227 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.06907/0.06907, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004408, allocations: 12 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08574, allocations: 50.38 MB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2682/0.354, allocations: 79.34 MB / 0.5107 GB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.3542, allocations: 88.14 kB / 0.5108 GB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008532/0.3627, allocations: 3.473 MB / 0.5142 GB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3628, allocations: 3.938 kB / 0.5142 GB, free: 11.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.3628, allocations: 3.656 kB / 0.5142 GB, free: 11.85 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.0007487/0.3635, allocations: 0.5805 MB / 0.5147 GB, free: 11.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3636, allocations: 11.72 kB / 0.5148 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.3637, allocations: 39.22 kB / 0.5148 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.364, allocations: 309.8 kB / 0.5151 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.364, allocations: 7.312 kB / 0.5151 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.364, allocations: 13.03 kB / 0.5151 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3643, allocations: 131 kB / 0.5152 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3643, allocations: 4 kB / 0.5152 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3643, allocations: 3.562 kB / 0.5152 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3643, allocations: 3.969 kB / 0.5152 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3645, allocations: 83.11 kB / 0.5153 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.3651, allocations: 0.5352 MB / 0.5158 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.3655, allocations: 174.8 kB / 0.516 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3656, allocations: 62.2 kB / 0.5161 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3657, allocations: 0 / 0.5161 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.3657, allocations: 34.5 kB / 0.5161 GB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.133e-06/0.3657, allocations: 5.781 kB / 0.5161 GB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001239/0.3669, allocations: 0.678 MB / 0.5168 GB, free: 10.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.367, allocations: 59.34 kB / 0.5168 GB, free: 10.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.3673, allocations: 334.4 kB / 0.5171 GB, free: 9.918 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3673, allocations: 29.14 kB / 0.5172 GB, free: 9.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.3673, allocations: 156.3 kB / 0.5173 GB, free: 9.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.3674, allocations: 57.42 kB / 0.5174 GB, free: 9.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.3674, allocations: 7.312 kB / 0.5174 GB, free: 9.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.3675, allocations: 337.5 kB / 0.5177 GB, free: 9.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3676, allocations: 56.98 kB / 0.5178 GB, free: 9.355 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.968e-05/0.3677, allocations: 71.53 kB / 0.5178 GB, free: 9.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.3679, allocations: 150.3 kB / 0.518 GB, free: 9.211 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3679, allocations: 0 / 0.518 GB, free: 9.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002956/0.3682, allocations: 223.7 kB / 0.5182 GB, free: 9.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3682, allocations: 4 kB / 0.5182 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3683, allocations: 7.984 kB / 0.5182 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3683, allocations: 0 / 0.5182 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3685, allocations: 67.17 kB / 0.5183 GB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3686, allocations: 0 / 0.5183 GB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3687, allocations: 11.69 kB / 0.5183 GB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3687, allocations: 4 kB / 0.5183 GB, free: 8.953 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 9.066e-05/0.3688, allocations: 143 kB / 0.5184 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.3689, allocations: 34.69 kB / 0.5184 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.3692, allocations: 226.1 kB / 0.5187 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.3692, allocations: 0 / 0.5187 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3693, allocations: 0 / 0.5187 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3693, allocations: 0 / 0.5187 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3695, allocations: 327.3 kB / 0.519 GB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3695, allocations: 0 / 0.519 GB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.3699, allocations: 63.39 kB / 0.519 GB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3699, allocations: 0 / 0.519 GB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.3699, allocations: 10.48 kB / 0.519 GB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3699, allocations: 0.875 kB / 0.519 GB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3699, allocations: 0 / 0.519 GB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.3704, allocations: 401.1 kB / 0.5194 GB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.3705, allocations: 107.9 kB / 0.5195 GB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.3705, allocations: 7.422 kB / 0.5195 GB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3707, allocations: 4.875 kB / 0.5195 GB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.3708, allocations: 14.98 kB / 0.5196 GB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3708, allocations: 7.984 kB / 0.5196 GB, free: 7.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002012/0.371, allocations: 245.6 kB / 0.5198 GB, free: 7.582 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.371, allocations: 0 / 0.5198 GB, free: 7.582 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000257/0.3712, allocations: 50.62 kB / 0.5198 GB, free: 7.539 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 9.221e-05/0.3713, allocations: 114.7 kB / 0.52 GB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.3716, allocations: 151.3 kB / 0.5201 GB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3716, allocations: 0 / 0.5201 GB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3718, allocations: 83.22 kB / 0.5202 GB, free: 7.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3721, allocations: 38.14 kB / 0.5202 GB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3732, allocations: 0.8594 MB / 0.5211 GB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.3734, allocations: 0.7638 MB / 0.5218 GB, free: 5.598 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.3735, allocations: 34.27 kB / 0.5218 GB, free: 5.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.3736, allocations: 23.42 kB / 0.5219 GB, free: 5.543 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3736, allocations: 11.94 kB / 0.5219 GB, free: 5.531 MB / 330.7 MB Notification: Performance of Templates: time 0.004733/0.3783, allocations: 2.439 MB / 0.5242 GB, free: 3.109 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/jenkins1/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