Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008007/0.0008007, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.001943, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006353/0.0006353, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000913/0.001548, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9205/0.9205, allocations: 173.4 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08102/1.002, allocations: 52.49 MB / 238.3 MB, free: 4.453 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_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.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 239.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.839e-05, allocations: 6.875 kB / 239.6 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.005621/0.00564, allocations: 2.084 MB / 241.6 MB, free: 1.09 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.006823, allocations: 0.5688 MB / 242.2 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.006986, allocations: 7.938 kB / 242.2 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.00709, allocations: 23.67 kB / 242.2 MB, free: 500 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.007386, allocations: 79.41 kB / 242.3 MB, free: 420 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.007638, allocations: 51.86 kB / 242.4 MB, free: 368 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.008059, allocations: 270.9 kB / 242.6 MB, free: 96 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.008204, allocations: 38.84 kB / 242.7 MB, free: 56 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.008629, allocations: 232.8 kB / 242.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.008835, allocations: 95.62 kB / 243 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.008891, allocations: 24 kB / 243 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.543e-05/0.008927, allocations: 16 kB / 243 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.009002, allocations: 39.81 kB / 243.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.009088, allocations: 51.81 kB / 243.1 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.009333, allocations: 147.2 kB / 243.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.829e-05/0.009351, allocations: 0 / 243.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009353, allocations: 0 / 243.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.009373, allocations: 0 / 243.3 MB, free: 15.45 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000962/0.01033, allocations: 0.534 MB / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.01037, allocations: 8.031 kB / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.01045, allocations: 28.91 kB / 243.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.01075, allocations: 210.5 kB / 244 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.01077, allocations: 12.38 kB / 244.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.01081, allocations: 16.36 kB / 244.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.01098, allocations: 85.75 kB / 244.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.01099, allocations: 0 / 244.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.01101, allocations: 8 kB / 244.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.01101, allocations: 0 / 244.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.01108, allocations: 27.98 kB / 244.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.01166, allocations: 302.5 kB / 244.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.01201, allocations: 110.5 kB / 244.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/0.01209, allocations: 24.86 kB / 244.6 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.0121, allocations: 4.25 kB / 244.6 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.01213, allocations: 30.56 kB / 244.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.01213, allocations: 0 / 244.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008506/0.01298, allocations: 440.7 kB / 245.1 MB, free: 13.51 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.01301, allocations: 59.41 kB / 245.1 MB, free: 13.44 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.01316, allocations: 279 kB / 245.4 MB, free: 13.15 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.01318, allocations: 25.7 kB / 245.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.01322, allocations: 132.9 kB / 245.6 MB, free: 12.99 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.01327, allocations: 55.47 kB / 245.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.01331, allocations: 37.69 kB / 245.7 MB, free: 12.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.0134, allocations: 346.7 kB / 246 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.01343, allocations: 16 kB / 246 MB, free: 12.53 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.01346, allocations: 22.8 kB / 246 MB, free: 12.51 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.01355, allocations: 67.56 kB / 246.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01355, allocations: 8 kB / 246.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00012/0.01367, allocations: 112.8 kB / 246.2 MB, free: 12.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.01368, allocations: 7.938 kB / 246.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01369, allocations: 0 / 246.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.0137, allocations: 0 / 246.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.01391, allocations: 71.94 kB / 246.3 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.01391, allocations: 7.938 kB / 246.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.01397, allocations: 8 kB / 246.3 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.01398, allocations: 4 kB / 246.3 MB, free: 12.22 MB / 250.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 6.905e-05/0.01404, allocations: 120.7 kB / 246.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.01408, allocations: 23.91 kB / 246.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.01423, allocations: 143 kB / 246.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01424, allocations: 4 kB / 246.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01424, allocations: 0 / 246.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01424, allocations: 0 / 246.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.01441, allocations: 145.8 kB / 246.7 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01441, allocations: 4 kB / 246.7 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.01465, allocations: 87.91 kB / 246.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.01469, allocations: 31.73 kB / 246.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01469, allocations: 0 / 246.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.0147, allocations: 11.98 kB / 246.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.0147, allocations: 0 / 246.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0147, allocations: 0 / 246.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.01491, allocations: 253.4 kB / 247.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.01494, allocations: 7.938 kB / 247.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.01501, allocations: 11.94 kB / 247.1 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.01504, allocations: 15.97 kB / 247.2 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.01504, allocations: 4 kB / 247.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.003e-05/0.01512, allocations: 112.6 kB / 247.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01512, allocations: 0 / 247.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001417/0.01527, allocations: 40 kB / 247.3 MB, free: 11.18 MB / 250.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 8.714e-05/0.01535, allocations: 92.3 kB / 247.4 MB, free: 11.08 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.0155, allocations: 72.83 kB / 247.5 MB, free: 11 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.01551, allocations: 8 kB / 247.5 MB, free: 11 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.01556, allocations: 63.41 kB / 247.5 MB, free: 10.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.01578, allocations: 55.91 kB / 247.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.01736, allocations: 0.5419 MB / 248.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.606e-05/0.01742, allocations: 92.3 kB / 248.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.963e-05/0.01749, allocations: 30.28 kB / 248.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.0176, allocations: 87.36 kB / 248.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0176, allocations: 0 / 248.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of Templates: time 0.004832/0.02244, allocations: 3.22 MB / 251.6 MB, free: 6.945 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.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.3902958603575826]