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.001286/0.001286, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001588/0.001588, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 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.9783/0.9783, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.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.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.279e-05, allocations: 5.125 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002885/0.002907, allocations: 2.179 MB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.003798, allocations: 0.5964 MB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.003919, allocations: 4 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.004052, allocations: 27.61 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.004285, allocations: 83.36 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.004518, allocations: 71.77 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.004785, allocations: 283 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.004924, allocations: 53.12 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.005162, allocations: 167.4 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.005279, allocations: 107.5 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.00531, allocations: 20 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.622e-05/0.005337, allocations: 20 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.00539, allocations: 59.69 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.005453, allocations: 83.62 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.00563, allocations: 175.2 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.005633, allocations: 0 / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.005636, allocations: 3.984 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005639, allocations: 0 / 277.3 MB, free: 13.34 MB / 266.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.0006484/0.006288, allocations: 0.6396 MB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.006327, allocations: 12.03 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.006386, allocations: 44.7 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.006608, allocations: 245.5 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.00662, allocations: 12.66 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.006646, allocations: 16.38 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.006945, allocations: 296.5 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.006952, allocations: 3.938 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.006964, allocations: 8 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.006968, allocations: 0 / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.361e-05/0.007021, allocations: 38.41 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.007407, allocations: 482.8 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.007737, allocations: 243.5 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.921e-05/0.007816, allocations: 91.19 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.00784, allocations: 11.86 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.007861, allocations: 41.39 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.302e-06/0.007862, allocations: 4 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.00101/0.008873, allocations: 0.8012 MB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.008941, allocations: 142.7 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.009119, allocations: 330.2 kB / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.009138, allocations: 29.7 kB / 280.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.009213, allocations: 203.9 kB / 280.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.009243, allocations: 39.72 kB / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.009284, allocations: 47.28 kB / 281 MB, free: 9.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.009407, allocations: 0.5078 MB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.009428, allocations: 15.98 kB / 281.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.187e-05/0.00949, allocations: 96.72 kB / 281.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.009574, allocations: 109.4 kB / 281.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.009575, allocations: 0 / 281.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001299/0.009705, allocations: 149.3 kB / 281.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.009716, allocations: 4 kB / 281.9 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.00972, allocations: 4 kB / 281.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.009733, allocations: 4 kB / 281.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.009807, allocations: 40.08 kB / 281.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.009811, allocations: 4 kB / 281.9 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.009867, allocations: 15.89 kB / 282 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.009874, allocations: 4 kB / 282 MB, free: 8.281 MB / 266.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.104e-05/0.009965, allocations: 176.7 kB / 282.1 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.01018, allocations: 206.7 kB / 282.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.01045, allocations: 280.5 kB / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01045, allocations: 4 kB / 282.6 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01046, allocations: 11.94 kB / 282.6 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01046, allocations: 3.984 kB / 282.6 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.01064, allocations: 161.2 kB / 282.8 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01064, allocations: 4 kB / 282.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.0109, allocations: 119.8 kB / 282.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.0109, allocations: 4 kB / 282.9 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.01092, allocations: 7.938 kB / 282.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01092, allocations: 4 kB / 282.9 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01092, allocations: 0 / 282.9 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.0111, allocations: 378.5 kB / 283.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.01114, allocations: 43.69 kB / 283.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.01117, allocations: 8 kB / 283.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01127, allocations: 12 kB / 283.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.01129, allocations: 7.984 kB / 283.4 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01131, allocations: 11.94 kB / 283.4 MB, free: 6.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.01143, allocations: 238.8 kB / 283.6 MB, free: 6.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01143, allocations: 0 / 283.6 MB, free: 6.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.01163, allocations: 48 kB / 283.7 MB, free: 6.512 MB / 266.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.163e-05/0.01173, allocations: 115.2 kB / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.01188, allocations: 123.2 kB / 283.9 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01188, allocations: 0 / 283.9 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.0119, allocations: 27.67 kB / 283.9 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.01229, allocations: 132.3 kB / 284.1 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.01311, allocations: 0.6365 MB / 284.7 MB, free: 5.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.945e-05/0.01318, allocations: 121 kB / 284.8 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.01323, allocations: 30.95 kB / 284.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.01335, allocations: 110.2 kB / 284.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01335, allocations: 0 / 284.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of Templates: time 0.005279/0.01863, allocations: 3.628 MB / 288.6 MB, free: 1.578 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 -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.857869724743068]