Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.002614, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009618/0.0009618, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002363, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.819/0.819, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1387/0.9577, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.353e-05, allocations: 2.312 kB / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002751/0.002774, allocations: 2.23 MB / 242 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000856/0.00363, allocations: 0.5976 MB / 242.6 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.003751, allocations: 0 / 242.6 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.218e-05/0.003823, allocations: 31.61 kB / 242.6 MB, free: 3.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.003999, allocations: 83.33 kB / 242.7 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.004236, allocations: 75.72 kB / 242.7 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.004492, allocations: 271 kB / 243 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.004606, allocations: 59.84 kB / 243.1 MB, free: 3.016 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.004935, allocations: 241.7 kB / 243.3 MB, free: 2.777 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.005066, allocations: 103.5 kB / 243.4 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.005103, allocations: 20 kB / 243.4 MB, free: 2.656 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.638e-05/0.00513, allocations: 20.97 kB / 243.4 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.005181, allocations: 39.81 kB / 243.5 MB, free: 2.598 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.005237, allocations: 59.81 kB / 243.5 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.005427, allocations: 167.8 kB / 243.7 MB, free: 2.375 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.005437, allocations: 0.9062 kB / 243.7 MB, free: 2.375 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.005438, allocations: 0 / 243.7 MB, free: 2.375 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.005451, allocations: 0 / 243.7 MB, free: 2.375 MB / 234.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.0006664/0.006117, allocations: 0.5508 MB / 244.3 MB, free: 1.805 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.006149, allocations: 12.03 kB / 244.3 MB, free: 1.793 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.006207, allocations: 32.91 kB / 244.3 MB, free: 1.762 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.006431, allocations: 222.7 kB / 244.5 MB, free: 1.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.006444, allocations: 14.12 kB / 244.5 MB, free: 1.508 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.006475, allocations: 12.38 kB / 244.5 MB, free: 1.496 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.006781, allocations: 289 kB / 244.8 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.006791, allocations: 9.625 kB / 244.8 MB, free: 1.188 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.006803, allocations: 4 kB / 244.8 MB, free: 1.184 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.00681, allocations: 4 kB / 244.8 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.006862, allocations: 31.84 kB / 244.9 MB, free: 1.148 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.007198, allocations: 302.3 kB / 245.2 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.007493, allocations: 205.5 kB / 245.4 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.029e-05/0.007564, allocations: 79.5 kB / 245.5 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.007586, allocations: 4 kB / 245.5 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.00761, allocations: 51.25 kB / 245.5 MB, free: 468 kB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 2.033e-06/0.007612, allocations: 0.6875 kB / 245.5 MB, free: 468 kB / 234.7 MB Notification: Performance of matching and sorting (n=38): time 0.001249/0.00886, allocations: 0.8486 MB / 246.4 MB, free: 15.56 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.008939, allocations: 142.5 kB / 246.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.009239, allocations: 271 kB / 246.8 MB, free: 15.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.009258, allocations: 33.7 kB / 246.8 MB, free: 15.08 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.009302, allocations: 121.8 kB / 246.9 MB, free: 14.95 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.009332, allocations: 35.72 kB / 246.9 MB, free: 14.92 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.00937, allocations: 41.64 kB / 247 MB, free: 14.87 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.009452, allocations: 342.8 kB / 247.3 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.009471, allocations: 11.98 kB / 247.3 MB, free: 14.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.009514, allocations: 66.84 kB / 247.4 MB, free: 14.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.583e-05/0.00959, allocations: 93.53 kB / 247.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.009591, allocations: 0 / 247.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001118/0.009703, allocations: 117.5 kB / 247.6 MB, free: 14.19 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.009717, allocations: 4 kB / 247.6 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.009723, allocations: 4 kB / 247.6 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.009738, allocations: 4 kB / 247.6 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.009819, allocations: 32.2 kB / 247.6 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.009827, allocations: 19.86 kB / 247.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.009897, allocations: 8 kB / 247.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.009905, allocations: 4 kB / 247.7 MB, free: 14.11 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/0.009998, allocations: 124.7 kB / 247.8 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.01017, allocations: 157.4 kB / 248 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.01039, allocations: 220.4 kB / 248.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.0104, allocations: 7.938 kB / 248.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.0104, allocations: 7.938 kB / 248.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.01041, allocations: 7.984 kB / 248.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01058, allocations: 141.7 kB / 248.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01058, allocations: 0 / 248.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.01098, allocations: 163.9 kB / 248.5 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.01102, allocations: 31.77 kB / 248.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01102, allocations: 0 / 248.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.01103, allocations: 12 kB / 248.5 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.01104, allocations: 7.938 kB / 248.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01104, allocations: 3.938 kB / 248.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.01119, allocations: 258.2 kB / 248.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.01123, allocations: 15.98 kB / 248.8 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.01132, allocations: 8 kB / 248.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.01135, allocations: 7.938 kB / 248.8 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01136, allocations: 11.98 kB / 248.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.476e-05/0.01145, allocations: 116.6 kB / 249 MB, free: 12.78 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01145, allocations: 0 / 249 MB, free: 12.78 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.01164, allocations: 48.03 kB / 249 MB, free: 12.73 MB / 250.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 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.032e-05/0.01173, allocations: 88.36 kB / 249.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.01188, allocations: 113.3 kB / 249.2 MB, free: 12.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.01189, allocations: 4 kB / 249.2 MB, free: 12.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.946e-05/0.01192, allocations: 24.78 kB / 249.2 MB, free: 12.49 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.01236, allocations: 390.9 kB / 249.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.01395, allocations: 0.6544 MB / 250.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.01402, allocations: 121.1 kB / 250.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.01407, allocations: 22.97 kB / 250.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.01419, allocations: 95.36 kB / 250.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01419, allocations: 0 / 250.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of Templates: time 0.00602/0.02021, allocations: 3.821 MB / 254.3 MB, free: 7.379 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.2894956720992923]