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.001776/0.001776, allocations: 117 kB / 18.41 MB, free: 4.664 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.001829/0.001829, allocations: 186.9 kB / 21.34 MB, free: 1.738 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.473/1.473, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.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.001862/0.001863, allocations: 47.91 kB / 358.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1265, allocations: 49.44 MB / 408.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004462/0.1311, allocations: 2.074 MB / 410.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1325, allocations: 0.5496 MB / 410.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.1328, allocations: 0 / 410.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.1329, allocations: 35.61 kB / 410.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.1334, allocations: 75.41 kB / 410.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1337, allocations: 51.92 kB / 410.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004818/0.1342, allocations: 259.1 kB / 411.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.1344, allocations: 56.7 kB / 411.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.1346, allocations: 107.4 kB / 411.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.1349, allocations: 139.2 kB / 411.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.1349, allocations: 20 kB / 411.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.135, allocations: 20 kB / 411.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1351, allocations: 59.64 kB / 411.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.1353, allocations: 123.2 kB / 411.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.1357, allocations: 242.7 kB / 411.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1357, allocations: 0 / 411.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1357, allocations: 0 / 411.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1357, allocations: 0 / 411.9 MB, free: 3.059 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.001447/0.1372, allocations: 0.6032 MB / 412.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1372, allocations: 12.03 kB / 412.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.98e-05/0.1373, allocations: 32.7 kB / 412.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.1379, allocations: 312.3 kB / 412.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1379, allocations: 12.12 kB / 412.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.138, allocations: 19.95 kB / 412.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.1383, allocations: 122.2 kB / 413 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1383, allocations: 4 kB / 413 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.1383, allocations: 4 kB / 413 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1383, allocations: 0 / 413 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.1386, allocations: 79.95 kB / 413.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1397, allocations: 0.5236 MB / 413.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.1402, allocations: 166.8 kB / 413.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1404, allocations: 69.08 kB / 413.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.1404, allocations: 7.922 kB / 413.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1405, allocations: 38.56 kB / 413.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.556e-06/0.1405, allocations: 0 / 413.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001909/0.1424, allocations: 0.6655 MB / 414.6 MB, free: 192 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.1425, allocations: 51.41 kB / 414.6 MB, free: 128 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.143, allocations: 336.6 kB / 414.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.143, allocations: 25.7 kB / 415 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1432, allocations: 156.3 kB / 415.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/0.1433, allocations: 67.42 kB / 415.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.1434, allocations: 41.7 kB / 415.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1436, allocations: 338.8 kB / 415.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1437, allocations: 63.91 kB / 415.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1439, allocations: 65.28 kB / 415.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.1442, allocations: 142.3 kB / 415.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1442, allocations: 4 kB / 415.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004369/0.1447, allocations: 210.1 kB / 416 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1447, allocations: 15.98 kB / 416 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1447, allocations: 0 / 416 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1447, allocations: 0 / 416 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1451, allocations: 55.91 kB / 416.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1451, allocations: 3.938 kB / 416.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.1453, allocations: 11.98 kB / 416.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1453, allocations: 7.938 kB / 416.1 MB, free: 14.57 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.0001667/0.1455, allocations: 137.8 kB / 416.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.1455, allocations: 27.81 kB / 416.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.146, allocations: 228.5 kB / 416.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.146, allocations: 0 / 416.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.1461, allocations: 7.875 kB / 416.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.1461, allocations: 0 / 416.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.1465, allocations: 325.4 kB / 416.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1465, allocations: 0 / 416.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.1469, allocations: 55.95 kB / 416.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.147, allocations: 7.984 kB / 416.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.147, allocations: 8 kB / 416.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.147, allocations: 0 / 416.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.147, allocations: 3.938 kB / 416.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006899/0.1477, allocations: 393.3 kB / 417.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1478, allocations: 113 kB / 417.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1479, allocations: 4 kB / 417.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1481, allocations: 8.125 kB / 417.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.1482, allocations: 19.91 kB / 417.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.1482, allocations: 12 kB / 417.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000324/0.1485, allocations: 243.1 kB / 417.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1486, allocations: 0 / 417.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.1489, allocations: 44 kB / 417.7 MB, free: 12.86 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.0001708/0.149, allocations: 111.2 kB / 417.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.1495, allocations: 157.6 kB / 418 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1495, allocations: 0 / 418 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.1497, allocations: 83.91 kB / 418.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.1502, allocations: 35.11 kB / 418.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1519, allocations: 0.7584 MB / 418.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.1524, allocations: 0.7634 MB / 419.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1525, allocations: 31.36 kB / 419.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1525, allocations: 0 / 419.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Templates: time 0.007404/0.1599, allocations: 3.125 MB / 422.8 MB, free: 7.754 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.646972139016725]