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.002007/0.002007, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001573/0.001573, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 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 1.446/1.446, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|filter.x.2.|filter.x.3.|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.1.|filter.x.2.|filter.x.3.|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 0.001596/0.001596, allocations: 51.92 kB / 371.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2495, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003408/0.2529, allocations: 1.989 MB / 425.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2539, allocations: 0.5185 MB / 426.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.254, allocations: 4 kB / 426.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2541, allocations: 23.67 kB / 426.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.2544, allocations: 79.42 kB / 426.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.2546, allocations: 59.84 kB / 426.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.2549, allocations: 259.1 kB / 426.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.255, allocations: 48.5 kB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.2552, allocations: 111.4 kB / 426.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.2554, allocations: 123.3 kB / 427 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.2554, allocations: 20 kB / 427.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.2555, allocations: 20 kB / 427.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.74e-05/0.2556, allocations: 63.69 kB / 427.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.2557, allocations: 95.33 kB / 427.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.256, allocations: 241.8 kB / 427.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.256, allocations: 0 / 427.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.256, allocations: 0 / 427.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.256, allocations: 0 / 427.5 MB, free: 10.81 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.001093/0.2571, allocations: 0.5279 MB / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2571, allocations: 15.97 kB / 428 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.2572, allocations: 32.7 kB / 428.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2576, allocations: 254.5 kB / 428.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2576, allocations: 12.12 kB / 428.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.2577, allocations: 15.95 kB / 428.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.2579, allocations: 125.5 kB / 428.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2579, allocations: 0 / 428.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.258, allocations: 4 kB / 428.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.258, allocations: 4 kB / 428.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.2582, allocations: 79.95 kB / 428.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007906/0.259, allocations: 428 kB / 429 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.2595, allocations: 186.6 kB / 429.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2596, allocations: 56.83 kB / 429.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2596, allocations: 8 kB / 429.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2597, allocations: 34.5 kB / 429.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.055e-06/0.2597, allocations: 3.984 kB / 429.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001506/0.2612, allocations: 0.5926 MB / 429.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.2612, allocations: 55.41 kB / 429.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.2616, allocations: 328.6 kB / 430.2 MB, free: 7.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2617, allocations: 29.7 kB / 430.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.2618, allocations: 156.4 kB / 430.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.2619, allocations: 71.41 kB / 430.5 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-05/0.2619, allocations: 37.7 kB / 430.5 MB, free: 7.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2621, allocations: 334.8 kB / 430.8 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2623, allocations: 63.91 kB / 430.9 MB, free: 7.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2624, allocations: 67.91 kB / 430.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.2627, allocations: 142.5 kB / 431.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2627, allocations: 0 / 431.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000399/0.2631, allocations: 215.7 kB / 431.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2631, allocations: 4 kB / 431.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2631, allocations: 3.984 kB / 431.3 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2631, allocations: 3.984 kB / 431.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.2634, allocations: 59.91 kB / 431.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2634, allocations: 4 kB / 431.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2636, allocations: 15.92 kB / 431.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2636, allocations: 4 kB / 431.4 MB, free: 6.699 MB / 334.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.0001344/0.2637, allocations: 129.8 kB / 431.5 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.2638, allocations: 31.81 kB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.2643, allocations: 219.4 kB / 431.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2643, allocations: 7.984 kB / 431.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2643, allocations: 3.938 kB / 431.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2643, allocations: 3.938 kB / 431.8 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.2646, allocations: 225.2 kB / 432 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2646, allocations: 0 / 432 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.265, allocations: 63.89 kB / 432.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.265, allocations: 0 / 432.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.265, allocations: 7.984 kB / 432.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.265, allocations: 0 / 432.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.265, allocations: 0 / 432.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.2656, allocations: 391.1 kB / 432.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.2657, allocations: 31.98 kB / 432.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.2657, allocations: 19.92 kB / 432.5 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.2659, allocations: 8 kB / 432.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.266, allocations: 11.97 kB / 432.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.266, allocations: 4 kB / 432.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.2663, allocations: 251 kB / 432.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2663, allocations: 0 / 432.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.2665, allocations: 44 kB / 432.8 MB, free: 5.211 MB / 334.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.0001121/0.2667, allocations: 107.2 kB / 432.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.267, allocations: 155.8 kB / 433.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.267, allocations: 0 / 433.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2672, allocations: 75.91 kB / 433.1 MB, free: 4.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.2676, allocations: 40.05 kB / 433.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.269, allocations: 0.7517 MB / 433.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.2692, allocations: 159.3 kB / 434.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.2693, allocations: 31.42 kB / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2693, allocations: 0 / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of Templates: time 0.00561/0.2749, allocations: 3.224 MB / 437.3 MB, free: 0.6328 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.220280670095235]