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.001583/0.001583, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.00168/0.00168, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.467/1.467, allocations: 230.4 MB / 255.4 MB, free: 15 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.001924/0.001924, allocations: 67.89 kB / 374.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1157, allocations: 53.3 MB / 428.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003822/0.1195, allocations: 2.11 MB / 430.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1207, allocations: 0.5768 MB / 430.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1208, allocations: 7.938 kB / 430.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.121, allocations: 23.67 kB / 430.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.1213, allocations: 75.42 kB / 430.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1215, allocations: 51.92 kB / 430.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1218, allocations: 259.1 kB / 431.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.122, allocations: 48.7 kB / 431.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.1222, allocations: 111.4 kB / 431.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1224, allocations: 139.2 kB / 431.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.1224, allocations: 20 kB / 431.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.1225, allocations: 20 kB / 431.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.1226, allocations: 59.7 kB / 431.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1227, allocations: 119.2 kB / 431.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.123, allocations: 246.7 kB / 431.9 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.123, allocations: 0 / 431.9 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.123, allocations: 4 kB / 431.9 MB, free: 464 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.123, allocations: 0 / 431.9 MB, free: 464 kB / 350.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.2249/0.3479, allocations: 0.5938 MB / 432.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.348, allocations: 12.06 kB / 432.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.3481, allocations: 32.45 kB / 432.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.3485, allocations: 314.9 kB / 432.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3485, allocations: 8.75 kB / 432.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.3486, allocations: 12.5 kB / 432.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.3489, allocations: 119 kB / 433 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3489, allocations: 0.5312 kB / 433 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3489, allocations: 9.875 kB / 433 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3489, allocations: 4.531 kB / 433 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.3491, allocations: 80.12 kB / 433.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000815/0.3499, allocations: 0.5266 MB / 433.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.3505, allocations: 170.8 kB / 433.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.3506, allocations: 64.3 kB / 433.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.3506, allocations: 1.891 kB / 433.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.3506, allocations: 34.84 kB / 433.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3506, allocations: 1.062 kB / 433.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001456/0.3521, allocations: 0.6669 MB / 434.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3521, allocations: 53.56 kB / 434.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.3524, allocations: 326.6 kB / 434.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3524, allocations: 29.98 kB / 434.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.3525, allocations: 161.5 kB / 435.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.3526, allocations: 63.06 kB / 435.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.3526, allocations: 36.7 kB / 435.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.3527, allocations: 344.1 kB / 435.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3528, allocations: 66.17 kB / 435.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3529, allocations: 62.81 kB / 435.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.3532, allocations: 141.6 kB / 435.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3532, allocations: 1.594 kB / 435.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003521/0.3535, allocations: 213.7 kB / 436 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3536, allocations: 4.719 kB / 436 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3536, allocations: 1.031 kB / 436 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3536, allocations: 5.016 kB / 436 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.3539, allocations: 60.64 kB / 436.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3539, allocations: 1.156 kB / 436.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.354, allocations: 10.64 kB / 436.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.354, allocations: 3.656 kB / 436.1 MB, free: 9.684 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.0001052/0.3542, allocations: 136.5 kB / 436.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.3542, allocations: 36.69 kB / 436.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.3546, allocations: 214.5 kB / 436.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3546, allocations: 1.031 kB / 436.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3546, allocations: 1.156 kB / 436.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3546, allocations: 5.25 kB / 436.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.355, allocations: 332 kB / 436.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.355, allocations: 1.656 kB / 436.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.3553, allocations: 60.5 kB / 436.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3553, allocations: 4.219 kB / 436.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.3554, allocations: 6.688 kB / 436.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3554, allocations: 1.094 kB / 436.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3554, allocations: 0 / 436.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.3559, allocations: 401.8 kB / 437.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.356, allocations: 111.2 kB / 437.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.356, allocations: 6.125 kB / 437.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3562, allocations: 5.078 kB / 437.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.3562, allocations: 14.81 kB / 437.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3563, allocations: 7.016 kB / 437.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.3565, allocations: 250.7 kB / 437.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3565, allocations: 0 / 437.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3568, allocations: 42.16 kB / 437.7 MB, free: 8.68 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.0001162/0.3569, allocations: 105.5 kB / 437.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.3573, allocations: 151.8 kB / 437.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3573, allocations: 0 / 437.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.3574, allocations: 86.03 kB / 438 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.3578, allocations: 35.84 kB / 438.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3591, allocations: 0.7444 MB / 438.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.3594, allocations: 0.7627 MB / 439.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3595, allocations: 25.7 kB / 439.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3595, allocations: 0 / 439.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of Templates: time 0.007447/0.3669, allocations: 3.128 MB / 442.7 MB, free: 7.062 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 -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: 7.2248193270061165]