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.0008439/0.0008439, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 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.0009176/0.0009176, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 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.9115/0.9115, allocations: 173.4 MB / 202.2 MB, free: 8.281 MB / 186.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.102e-06/1.102e-06, allocations: 0 / 269.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.558e-06/1.066e-05, allocations: 5.891 kB / 269.2 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002195/0.002206, allocations: 2.024 MB / 271.3 MB, free: 7.715 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00074/0.002946, allocations: 0.5432 MB / 271.8 MB, free: 7.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.003032, allocations: 1.906 kB / 271.8 MB, free: 7.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.402e-05/0.003106, allocations: 23.67 kB / 271.8 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.003285, allocations: 79.36 kB / 271.9 MB, free: 7.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.003436, allocations: 60.77 kB / 272 MB, free: 7.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.003651, allocations: 267 kB / 272.2 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.003735, allocations: 43.08 kB / 272.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.003891, allocations: 147.5 kB / 272.4 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.004002, allocations: 95.61 kB / 272.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.004028, allocations: 20 kB / 272.5 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.931e-05/0.004047, allocations: 20 kB / 272.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.004098, allocations: 64.75 kB / 272.6 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.004147, allocations: 67.7 kB / 272.7 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.004284, allocations: 159.2 kB / 272.8 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-06/0.004285, allocations: 0.5312 kB / 272.8 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004286, allocations: 0.5938 kB / 272.8 MB, free: 6.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.00429, allocations: 0 / 272.8 MB, free: 6.145 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.0005388/0.004829, allocations: 0.6245 MB / 273.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.004862, allocations: 12.47 kB / 273.5 MB, free: 5.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.004915, allocations: 40.75 kB / 273.5 MB, free: 5.438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.005114, allocations: 241.3 kB / 273.7 MB, free: 5.176 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.005124, allocations: 8.375 kB / 273.7 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.00515, allocations: 20.31 kB / 273.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.005261, allocations: 91.72 kB / 273.9 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.005266, allocations: 3.984 kB / 273.9 MB, free: 5.051 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.005274, allocations: 0 / 273.9 MB, free: 5.051 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.005278, allocations: 4 kB / 273.9 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.005325, allocations: 31.91 kB / 273.9 MB, free: 5.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.005726, allocations: 431.8 kB / 274.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.005934, allocations: 131.2 kB / 274.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.005972, allocations: 27.67 kB / 274.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.005986, allocations: 7.938 kB / 274.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.006005, allocations: 37.39 kB / 274.5 MB, free: 4.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.006006, allocations: 0 / 274.5 MB, free: 4.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.000652/0.006658, allocations: 423.9 kB / 274.9 MB, free: 3.891 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.006682, allocations: 55.41 kB / 275 MB, free: 3.824 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.006875, allocations: 338.2 kB / 275.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.00689, allocations: 25.7 kB / 275.3 MB, free: 3.445 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.006974, allocations: 215 kB / 275.5 MB, free: 3.227 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.007025, allocations: 67.42 kB / 275.6 MB, free: 3.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.007074, allocations: 47.34 kB / 275.7 MB, free: 3.105 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.007203, allocations: 0.5117 MB / 276.2 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.007239, allocations: 23.97 kB / 276.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/0.007271, allocations: 25.98 kB / 276.2 MB, free: 2.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/0.007358, allocations: 73.84 kB / 276.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.00736, allocations: 4 kB / 276.3 MB, free: 2.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001398/0.007499, allocations: 137.4 kB / 276.4 MB, free: 2.316 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.00751, allocations: 4 kB / 276.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.007513, allocations: 0 / 276.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.007523, allocations: 4 kB / 276.4 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.007668, allocations: 67.89 kB / 276.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007671, allocations: 0 / 276.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.007737, allocations: 7.938 kB / 276.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.00775, allocations: 4 kB / 276.5 MB, free: 2.23 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 9.712e-05/0.007847, allocations: 164.5 kB / 276.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.007903, allocations: 39.75 kB / 276.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.008135, allocations: 154.7 kB / 276.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.008138, allocations: 3.984 kB / 276.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.008141, allocations: 0 / 276.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.008147, allocations: 8 kB / 276.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.008344, allocations: 181.1 kB / 277.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.008346, allocations: 3.938 kB / 277.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.00852, allocations: 63.89 kB / 277.1 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.008522, allocations: 0 / 277.1 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.008539, allocations: 8 kB / 277.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.00854, allocations: 0 / 277.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.00854, allocations: 0 / 277.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.008796, allocations: 335.4 kB / 277.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.008831, allocations: 35.73 kB / 277.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.008857, allocations: 8 kB / 277.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.008935, allocations: 0 / 277.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.008966, allocations: 15.97 kB / 277.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.008973, allocations: 4 kB / 277.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.009081, allocations: 234.9 kB / 277.7 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009081, allocations: 0 / 277.7 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.009255, allocations: 44 kB / 277.8 MB, free: 0.8945 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 7.876e-05/0.009334, allocations: 107.2 kB / 277.9 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.009469, allocations: 101.9 kB / 278 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.81e-07/0.009469, allocations: 0 / 278 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.009526, allocations: 58.25 kB / 278.1 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.009757, allocations: 37.08 kB / 278.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008208/0.01058, allocations: 0.6194 MB / 278.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.01063, allocations: 92.3 kB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.0107, allocations: 26.28 kB / 278.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.01081, allocations: 106.2 kB / 278.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01081, allocations: 0 / 278.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Templates: time 0.004707/0.01552, allocations: 3.133 MB / 282.1 MB, free: 12.63 MB / 266.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 -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.61404827889055]