Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008339/0.0008339, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003982/0.003982, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8817/0.8817, allocations: 177 MB / 204.9 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.69e-05, allocations: 2.281 kB / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002086/0.002103, allocations: 2 MB / 327.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006833/0.002786, allocations: 0.5456 MB / 328.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.00288, allocations: 8 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.791e-05/0.002978, allocations: 23.67 kB / 328.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.003216, allocations: 79.36 kB / 328.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.003384, allocations: 51.91 kB / 328.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.003604, allocations: 271 kB / 328.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.003708, allocations: 40.89 kB / 328.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.003915, allocations: 155.4 kB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.004037, allocations: 107.5 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.004063, allocations: 23.94 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.004084, allocations: 20 kB / 329.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.004147, allocations: 63.7 kB / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.004209, allocations: 75.69 kB / 329.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.0044, allocations: 231.1 kB / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004402, allocations: 0 / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004403, allocations: 0 / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.004407, allocations: 0 / 329.5 MB, free: 11.58 MB / 298.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.0006452/0.005052, allocations: 0.5318 MB / 330 MB, free: 11.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.005086, allocations: 15.92 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.005129, allocations: 36.75 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.005391, allocations: 245.7 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.005401, allocations: 8.375 kB / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.005429, allocations: 12.38 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.005613, allocations: 129.7 kB / 330.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.005621, allocations: 0 / 330.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.005635, allocations: 8 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.005639, allocations: 0 / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.00575, allocations: 79.95 kB / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.006249, allocations: 440 kB / 331 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.006546, allocations: 170.7 kB / 331.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.006617, allocations: 56.84 kB / 331.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.006636, allocations: 4 kB / 331.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.006653, allocations: 38.55 kB / 331.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.006654, allocations: 0 / 331.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009089/0.007563, allocations: 0.5904 MB / 331.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.007591, allocations: 51.41 kB / 331.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.007826, allocations: 340.6 kB / 332.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.007839, allocations: 25.7 kB / 332.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.007908, allocations: 164.2 kB / 332.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.007951, allocations: 59.48 kB / 332.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.007995, allocations: 37.7 kB / 332.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.008081, allocations: 342.8 kB / 332.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.008163, allocations: 59.97 kB / 332.9 MB, free: 7.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.008237, allocations: 67.91 kB / 332.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.008403, allocations: 147.8 kB / 333.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.008404, allocations: 4 kB / 333.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002191/0.008623, allocations: 209.4 kB / 333.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.008634, allocations: 8 kB / 333.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.008638, allocations: 3.938 kB / 333.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.008648, allocations: 0 / 333.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.00879, allocations: 55.91 kB / 333.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.008797, allocations: 7.984 kB / 333.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/0.008861, allocations: 8 kB / 333.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.008869, allocations: 8 kB / 333.4 MB, free: 7.461 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.955e-05/0.008948, allocations: 129.8 kB / 333.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.008982, allocations: 35.78 kB / 333.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.009234, allocations: 227.8 kB / 333.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009236, allocations: 0 / 333.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.009239, allocations: 0 / 333.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.009243, allocations: 4 kB / 333.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.009427, allocations: 225.1 kB / 334 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.009428, allocations: 0 / 334 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.009601, allocations: 63.95 kB / 334 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.009603, allocations: 3.938 kB / 334 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.009616, allocations: 4 kB / 334.1 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009618, allocations: 4 kB / 334.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.00962, allocations: 4 kB / 334.1 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.009972, allocations: 387.1 kB / 334.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.01002, allocations: 31.86 kB / 334.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.01004, allocations: 8 kB / 334.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.01012, allocations: 8 kB / 334.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.01016, allocations: 15.97 kB / 334.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.01017, allocations: 4 kB / 334.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002874/0.01045, allocations: 251 kB / 334.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01045, allocations: 0 / 334.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000175/0.01063, allocations: 48 kB / 334.8 MB, free: 5.98 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.309e-05/0.0107, allocations: 99.19 kB / 334.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.01091, allocations: 151.8 kB / 335 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01091, allocations: 0 / 335 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.011, allocations: 91.81 kB / 335.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.01125, allocations: 33.89 kB / 335.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.01202, allocations: 0.6504 MB / 335.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.765e-05/0.01211, allocations: 159.5 kB / 336 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.01218, allocations: 28.5 kB / 336 MB, free: 4.719 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01219, allocations: 0 / 336 MB, free: 4.719 MB / 298.7 MB Notification: Performance of Templates: time 0.003289/0.01547, allocations: 3.259 MB / 339.3 MB, free: 1.473 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.468111237511039]