Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009186/0.0009186, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002204, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.002363, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9468/0.9468, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08451/1.031, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.113e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002449/0.00247, allocations: 2.252 MB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008987/0.003369, allocations: 0.6118 MB / 247.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.003492, allocations: 8 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.64e-05/0.003558, allocations: 27.61 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.003713, allocations: 79.41 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.003909, allocations: 71.78 kB / 247.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.004138, allocations: 282.9 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.004237, allocations: 54.81 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.004525, allocations: 244.5 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.00464, allocations: 107.6 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.004669, allocations: 20 kB / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.004693, allocations: 20 kB / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.00474, allocations: 43.81 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.004802, allocations: 59.81 kB / 248.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004975, allocations: 155.2 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.004986, allocations: 0 / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004986, allocations: 0 / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.004998, allocations: 0 / 248.5 MB, free: 10.29 MB / 250.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.0006932/0.005691, allocations: 0.5536 MB / 249.1 MB, free: 9.707 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.005722, allocations: 12.03 kB / 249.1 MB, free: 9.695 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.005771, allocations: 28.91 kB / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.005994, allocations: 230.7 kB / 249.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.006007, allocations: 12.66 kB / 249.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.006035, allocations: 16.33 kB / 249.4 MB, free: 9.387 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.006329, allocations: 275.4 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.006337, allocations: 0 / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.006348, allocations: 12 kB / 249.7 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.006356, allocations: 4 kB / 249.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.314e-05/0.006409, allocations: 27.98 kB / 249.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.006735, allocations: 301.1 kB / 250 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.007021, allocations: 210.8 kB / 250.2 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.047e-05/0.007092, allocations: 86.69 kB / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.007114, allocations: 8 kB / 250.3 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.007136, allocations: 42.5 kB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 3.026e-06/0.007139, allocations: 3.984 kB / 250.3 MB, free: 8.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.00117/0.008309, allocations: 0.821 MB / 251.1 MB, free: 7.477 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.008398, allocations: 151.1 kB / 251.3 MB, free: 7.305 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.008543, allocations: 267 kB / 251.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.00856, allocations: 33.7 kB / 251.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.008597, allocations: 113.7 kB / 251.7 MB, free: 6.871 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.008626, allocations: 43.67 kB / 251.7 MB, free: 6.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.008662, allocations: 33.69 kB / 251.8 MB, free: 6.789 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.008737, allocations: 342.8 kB / 252.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.008755, allocations: 12 kB / 252.1 MB, free: 6.434 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.008819, allocations: 62.84 kB / 252.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/0.008893, allocations: 97.58 kB / 252.3 MB, free: 6.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008895, allocations: 4 kB / 252.3 MB, free: 6.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00011/0.009005, allocations: 117.6 kB / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.009018, allocations: 15.59 kB / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.009023, allocations: 0 / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.009032, allocations: 4 kB / 252.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.009115, allocations: 35.98 kB / 252.5 MB, free: 6.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.00912, allocations: 7.875 kB / 252.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.009173, allocations: 11.95 kB / 252.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.009181, allocations: 8 kB / 252.5 MB, free: 6.023 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 8.982e-05/0.009271, allocations: 132.6 kB / 252.6 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.009447, allocations: 170.2 kB / 252.8 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.009655, allocations: 212.4 kB / 253 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.00966, allocations: 7.984 kB / 253 MB, free: 5.488 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.009662, allocations: 7.938 kB / 253 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.009667, allocations: 0 / 253 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.009832, allocations: 137.8 kB / 253.1 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.009834, allocations: 0 / 253.1 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.01022, allocations: 159.8 kB / 253.3 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.01026, allocations: 31.77 kB / 253.3 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01026, allocations: 4 kB / 253.3 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01028, allocations: 7.984 kB / 253.3 MB, free: 5.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.01028, allocations: 7.938 kB / 253.3 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.01028, allocations: 3.938 kB / 253.3 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.01043, allocations: 258.9 kB / 253.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.01046, allocations: 12 kB / 253.6 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01056, allocations: 12 kB / 253.6 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.01059, allocations: 15.95 kB / 253.6 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.0106, allocations: 4 kB / 253.6 MB, free: 4.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.168e-05/0.01068, allocations: 116.6 kB / 253.8 MB, free: 4.688 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01068, allocations: 0 / 253.8 MB, free: 4.688 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.01087, allocations: 48 kB / 253.8 MB, free: 4.641 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 0.0001243/0.01099, allocations: 96.28 kB / 253.9 MB, free: 4.539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.01114, allocations: 112.5 kB / 254 MB, free: 4.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.01114, allocations: 8.062 kB / 254 MB, free: 4.418 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.01117, allocations: 24.78 kB / 254 MB, free: 4.391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.01154, allocations: 159.1 kB / 254.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.01307, allocations: 0.6662 MB / 254.9 MB, free: 3.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.01318, allocations: 121.1 kB / 255 MB, free: 3.391 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.01323, allocations: 30.95 kB / 255 MB, free: 3.363 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.01335, allocations: 91.36 kB / 255.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01335, allocations: 0 / 255.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of Templates: time 0.005673/0.01902, allocations: 3.782 MB / 258.9 MB, free: 15.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6421330235898495]