Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001594/0.001594, allocations: 110.3 kB / 21.17 MB, free: 0.7812 MB / 14.72 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.002041/0.002041, allocations: 209.4 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 75.81 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3223, allocations: 53.32 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003698/0.326, allocations: 2.1 MB / 434.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3272, allocations: 0.5807 MB / 434.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.3274, allocations: 0 / 434.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3275, allocations: 23.67 kB / 434.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.3279, allocations: 75.42 kB / 434.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.3281, allocations: 55.92 kB / 434.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.3285, allocations: 263 kB / 435.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.3286, allocations: 44.72 kB / 435.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.3289, allocations: 119.4 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3291, allocations: 127.3 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.3292, allocations: 20 kB / 435.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.3292, allocations: 20 kB / 435.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.3293, allocations: 63.7 kB / 435.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3295, allocations: 119.2 kB / 435.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.3298, allocations: 248.2 kB / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3298, allocations: 0 / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3298, allocations: 0 / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.098e-06/0.3298, allocations: 0 / 435.9 MB, free: 3.555 MB / 334.1 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.001257/0.3311, allocations: 0.6032 MB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3311, allocations: 8.031 kB / 436.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.65e-05/0.3312, allocations: 32.75 kB / 436.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.3317, allocations: 316.2 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3317, allocations: 12.12 kB / 436.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.3317, allocations: 19.94 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.332, allocations: 117.6 kB / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.332, allocations: 3.938 kB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.332, allocations: 4 kB / 437 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.332, allocations: 4 kB / 437 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.3322, allocations: 83.83 kB / 437.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.3331, allocations: 0.5198 MB / 437.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.3336, allocations: 174.8 kB / 437.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3338, allocations: 64.83 kB / 437.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3338, allocations: 7.875 kB / 437.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3338, allocations: 34.56 kB / 437.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.3338, allocations: 0 / 437.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001661/0.3355, allocations: 0.6694 MB / 438.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3355, allocations: 55.41 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.336, allocations: 328.6 kB / 438.9 MB, free: 300 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.336, allocations: 29.7 kB / 439 MB, free: 264 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3361, allocations: 160.3 kB / 439.1 MB, free: 96 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.3362, allocations: 63.47 kB / 439.2 MB, free: 32 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/0.3363, allocations: 33.72 kB / 439.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3365, allocations: 342.8 kB / 439.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3366, allocations: 63.91 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3367, allocations: 55.98 kB / 439.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.337, allocations: 150.8 kB / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.337, allocations: 0 / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003786/0.3374, allocations: 213.4 kB / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3374, allocations: 8 kB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3374, allocations: 0 / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3374, allocations: 0 / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.3377, allocations: 63.89 kB / 440.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3377, allocations: 3.938 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3379, allocations: 8 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3379, allocations: 4 kB / 440.1 MB, free: 15.08 MB / 350.1 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 0.0001365/0.338, allocations: 129.8 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.3381, allocations: 35.8 kB / 440.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.3385, allocations: 224.5 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3385, allocations: 0 / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3385, allocations: 7.938 kB / 440.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3385, allocations: 7.922 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.3389, allocations: 313.5 kB / 440.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3389, allocations: 3.938 kB / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.3393, allocations: 59.95 kB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3393, allocations: 4 kB / 440.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.3393, allocations: 7.984 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3393, allocations: 0 / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3393, allocations: 7.875 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.3399, allocations: 387.1 kB / 441.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.34, allocations: 108.9 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.3401, allocations: 16.11 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3403, allocations: 12 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.3404, allocations: 11.92 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.3404, allocations: 7.984 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.3407, allocations: 251.1 kB / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3407, allocations: 0 / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.3409, allocations: 40 kB / 441.7 MB, free: 13.38 MB / 350.1 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 0.0001598/0.3411, allocations: 103.2 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.3415, allocations: 150.8 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3415, allocations: 3.938 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.3416, allocations: 83.89 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.342, allocations: 37.67 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.3435, allocations: 0.7095 MB / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.344, allocations: 0.7713 MB / 443.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.3441, allocations: 26.28 kB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.516e-05/0.3442, allocations: 27.42 kB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3442, allocations: 0 / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Templates: time 0.00745/0.3517, allocations: 2.838 MB / 446.5 MB, free: 8.629 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.759402446914464]