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.001704/0.001704, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001847/0.001847, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9999/0.9999, allocations: 173.4 MB / 201.2 MB, free: 9.34 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.513e-06/1.513e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.957e-05, allocations: 5.969 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.005861/0.005891, allocations: 2.057 MB / 270.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008648/0.006755, allocations: 0.5495 MB / 270.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.006857, allocations: 0 / 270.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.006979, allocations: 23.67 kB / 270.7 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.00726, allocations: 91.28 kB / 270.7 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.007488, allocations: 59.84 kB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.007777, allocations: 267 kB / 271.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.007895, allocations: 28.92 kB / 271.1 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.008082, allocations: 155.5 kB / 271.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.008222, allocations: 99.61 kB / 271.3 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.008262, allocations: 16 kB / 271.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-05/0.00829, allocations: 23.94 kB / 271.4 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.008364, allocations: 67.62 kB / 271.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.008436, allocations: 67.7 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.008648, allocations: 151.3 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.008651, allocations: 0 / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008652, allocations: 0 / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.008657, allocations: 0 / 271.7 MB, free: 2.754 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.000787/0.009444, allocations: 0.6277 MB / 272.3 MB, free: 2.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.009483, allocations: 16.91 kB / 272.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.009554, allocations: 36.75 kB / 272.3 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.00983, allocations: 245.4 kB / 272.6 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.009843, allocations: 8.375 kB / 272.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.009878, allocations: 20.27 kB / 272.6 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.01006, allocations: 101.8 kB / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.01006, allocations: 0 / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.01008, allocations: 4 kB / 272.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.01009, allocations: 4 kB / 272.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.01319, allocations: 35.97 kB / 272.7 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.0138, allocations: 467.2 kB / 273.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.01414, allocations: 143.2 kB / 273.3 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.0142, allocations: 31.67 kB / 273.4 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.01422, allocations: 4 kB / 273.4 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.01424, allocations: 41.39 kB / 273.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.01424, allocations: 0 / 273.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009995/0.01524, allocations: 492.2 kB / 273.9 MB, free: 356 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.01527, allocations: 51.41 kB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.01555, allocations: 354.4 kB / 274.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.01557, allocations: 29.7 kB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.01566, allocations: 203.1 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.01572, allocations: 67.47 kB / 274.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.01578, allocations: 39.36 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.01591, allocations: 0.5118 MB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.01597, allocations: 31.98 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.01603, allocations: 26.8 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.01815, allocations: 91.59 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01815, allocations: 0 / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001933/0.01835, allocations: 160.5 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.01836, allocations: 4 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01837, allocations: 0 / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01838, allocations: 7.938 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.01855, allocations: 51.97 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.01855, allocations: 7.984 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.01862, allocations: 8 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.01863, allocations: 4 kB / 275.5 MB, free: 14.64 MB / 266.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 8.395e-05/0.01871, allocations: 172.5 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.01875, allocations: 39.8 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.01898, allocations: 163.6 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01898, allocations: 0 / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01899, allocations: 0 / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01899, allocations: 3.984 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.01921, allocations: 224.4 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01921, allocations: 4 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.0194, allocations: 63.89 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.0194, allocations: 0 / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.01942, allocations: 4 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.01942, allocations: 4 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01942, allocations: 0 / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.01973, allocations: 359.3 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.01977, allocations: 31.8 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.01979, allocations: 0 / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.01987, allocations: 12 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.01991, allocations: 11.97 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01992, allocations: 8 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.02007, allocations: 247 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02007, allocations: 4 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.02025, allocations: 44 kB / 276.9 MB, free: 13.21 MB / 266.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 9.832e-05/0.02035, allocations: 99.25 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.02053, allocations: 111.4 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02054, allocations: 0 / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.924e-05/0.0206, allocations: 67.59 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.02087, allocations: 35.8 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02189, allocations: 0.6091 MB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.712e-05/0.02195, allocations: 96.3 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.02202, allocations: 38.2 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.0221, allocations: 28.48 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0221, allocations: 0 / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Templates: time 0.005444/0.02754, allocations: 2.995 MB / 281 MB, free: 9.137 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.9677604977041483]