Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.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.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 182.4 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.564/1.564, allocations: 205.2 MB / 219 MB, free: 9.199 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.000959/0.0009591, allocations: 94.55 kB / 267.1 MB, free: 9.27 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.09235/0.09235, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.872e-05/3.876e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5146, allocations: 79.99 MB / 0.5043 GB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.5149, allocations: 70.67 kB / 0.5043 GB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009761/0.5246, allocations: 3.669 MB / 0.5079 GB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5247, allocations: 3.875 kB / 0.5079 GB, free: 10.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.5247, allocations: 3.875 kB / 0.5079 GB, free: 10.78 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006404/0.5253, allocations: 0.5053 MB / 0.5084 GB, free: 10.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.5254, allocations: 11.34 kB / 0.5084 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.5255, allocations: 31 kB / 0.5084 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.5259, allocations: 306.4 kB / 0.5087 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.526, allocations: 14.17 kB / 0.5087 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.526, allocations: 18.33 kB / 0.5088 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.5267, allocations: 358.3 kB / 0.5091 GB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5268, allocations: 0 / 0.5091 GB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.5268, allocations: 7.25 kB / 0.5091 GB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.5268, allocations: 3.938 kB / 0.5091 GB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.527, allocations: 77.86 kB / 0.5092 GB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.5278, allocations: 0.54 MB / 0.5097 GB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.5284, allocations: 302.9 kB / 0.51 GB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.5286, allocations: 130.1 kB / 0.5101 GB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.5287, allocations: 3.688 kB / 0.5101 GB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5287, allocations: 49.16 kB / 0.5102 GB, free: 9.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.382e-06/0.5287, allocations: 3.938 kB / 0.5102 GB, free: 9.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001863/0.5306, allocations: 1.146 MB / 0.5113 GB, free: 8.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.5307, allocations: 137.5 kB / 0.5114 GB, free: 8.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.531, allocations: 298.5 kB / 0.5117 GB, free: 8.352 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.531, allocations: 32.67 kB / 0.5118 GB, free: 8.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.5311, allocations: 147 kB / 0.5119 GB, free: 8.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.5311, allocations: 47.81 kB / 0.5119 GB, free: 8.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.5312, allocations: 6.344 kB / 0.5119 GB, free: 8.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.5313, allocations: 355.5 kB / 0.5123 GB, free: 7.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.5314, allocations: 53.47 kB / 0.5123 GB, free: 7.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.5315, allocations: 283.6 kB / 0.5126 GB, free: 7.578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.5317, allocations: 107 kB / 0.5127 GB, free: 7.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5317, allocations: 0 / 0.5127 GB, free: 7.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004642/0.5322, allocations: 365 kB / 0.5131 GB, free: 7.422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.5322, allocations: 7.75 kB / 0.5131 GB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.5322, allocations: 11.77 kB / 0.5131 GB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.5323, allocations: 12.31 kB / 0.5131 GB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.5325, allocations: 91.56 kB / 0.5132 GB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.5325, allocations: 19.48 kB / 0.5132 GB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.5328, allocations: 26.23 kB / 0.5132 GB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.5328, allocations: 19.22 kB / 0.5132 GB, free: 7.383 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001005/0.5329, allocations: 142.5 kB / 0.5134 GB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.5333, allocations: 272 kB / 0.5136 GB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.5338, allocations: 349.3 kB / 0.514 GB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5338, allocations: 12.34 kB / 0.514 GB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5338, allocations: 0 / 0.514 GB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5338, allocations: 7.938 kB / 0.514 GB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.5341, allocations: 313.5 kB / 0.5143 GB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5341, allocations: 3.984 kB / 0.5143 GB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.5347, allocations: 118.1 kB / 0.5144 GB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5347, allocations: 7.906 kB / 0.5144 GB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.5347, allocations: 14.3 kB / 0.5144 GB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5347, allocations: 0 / 0.5144 GB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.5347, allocations: 7.875 kB / 0.5144 GB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.5355, allocations: 0.6759 MB / 0.5151 GB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.5355, allocations: 119.8 kB / 0.5152 GB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.5356, allocations: 10.66 kB / 0.5152 GB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.5358, allocations: 22.73 kB / 0.5152 GB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.5359, allocations: 7.859 kB / 0.5152 GB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.5359, allocations: 11.19 kB / 0.5153 GB, free: 6.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.5361, allocations: 242.9 kB / 0.5155 GB, free: 6.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5361, allocations: 0 / 0.5155 GB, free: 6.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000378/0.5365, allocations: 67.72 kB / 0.5155 GB, free: 6.219 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001136/0.5366, allocations: 101.8 kB / 0.5156 GB, free: 6.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.537, allocations: 268.2 kB / 0.5159 GB, free: 6.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.537, allocations: 0 / 0.5159 GB, free: 6.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.5371, allocations: 23.12 kB / 0.5159 GB, free: 6.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.5375, allocations: 187.3 kB / 0.5161 GB, free: 6.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/0.5384, allocations: 0.5473 MB / 0.5166 GB, free: 5.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.5387, allocations: 0.812 MB / 0.5174 GB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.725e-05/0.5388, allocations: 34.59 kB / 0.5175 GB, free: 4.977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.5388, allocations: 34.53 kB / 0.5175 GB, free: 4.965 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5388, allocations: 3.938 kB / 0.5175 GB, free: 4.961 MB / 330.7 MB Notification: Performance of Templates: time 0.005727/0.5446, allocations: 3.039 MB / 0.5205 GB, free: 3.234 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches