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.001367/0.001367, allocations: 119 kB / 17.74 MB, free: 5.184 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.001384/0.001384, allocations: 190.8 kB / 20.67 MB, free: 2.254 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.481/1.481, allocations: 222.9 MB / 246.4 MB, free: 4.199 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.001543/0.001543, allocations: 47.92 kB / 358 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1285, allocations: 49.44 MB / 407.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003555/0.1321, allocations: 2.069 MB / 409.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1333, allocations: 0.5573 MB / 410.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1334, allocations: 0 / 410.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1335, allocations: 27.61 kB / 410.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.1338, allocations: 75.47 kB / 410.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.134, allocations: 55.86 kB / 410.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.1344, allocations: 255.1 kB / 410.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1345, allocations: 60.66 kB / 410.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.1347, allocations: 107.4 kB / 410.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1349, allocations: 135.3 kB / 410.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.135, allocations: 20 kB / 410.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.1351, allocations: 20 kB / 410.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1352, allocations: 71.62 kB / 410.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.1353, allocations: 115.2 kB / 411 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.1357, allocations: 226.8 kB / 411.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1358, allocations: 4 kB / 411.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.751e-06/0.1358, allocations: 0 / 411.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1358, allocations: 3.938 kB / 411.2 MB, free: 3.023 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.001253/0.137, allocations: 0.6071 MB / 411.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1371, allocations: 8.031 kB / 411.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.714e-05/0.1372, allocations: 36.7 kB / 411.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.1376, allocations: 316.3 kB / 412.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1377, allocations: 8.125 kB / 412.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.1377, allocations: 19.89 kB / 412.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.138, allocations: 122.3 kB / 412.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.138, allocations: 0 / 412.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1381, allocations: 4 kB / 412.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1381, allocations: 4 kB / 412.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.1383, allocations: 75.95 kB / 412.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008445/0.1391, allocations: 0.5275 MB / 412.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.1396, allocations: 182.7 kB / 413.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.1398, allocations: 53.09 kB / 413.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.1398, allocations: 11.94 kB / 413.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.1399, allocations: 38.56 kB / 413.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.236e-06/0.1399, allocations: 3.984 kB / 413.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001592/0.1415, allocations: 0.6644 MB / 413.9 MB, free: 148 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1415, allocations: 51.41 kB / 413.9 MB, free: 84 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/0.142, allocations: 332.5 kB / 414.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.142, allocations: 33.7 kB / 414.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1421, allocations: 168.3 kB / 414.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.1422, allocations: 63.44 kB / 414.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.1423, allocations: 37.7 kB / 414.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1425, allocations: 334.8 kB / 414.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1426, allocations: 63.91 kB / 414.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1427, allocations: 61.28 kB / 415 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.143, allocations: 142.3 kB / 415.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.143, allocations: 4 kB / 415.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003778/0.1434, allocations: 219.6 kB / 415.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1435, allocations: 4 kB / 415.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1435, allocations: 3.984 kB / 415.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1435, allocations: 7.938 kB / 415.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.1438, allocations: 51.97 kB / 415.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1438, allocations: 3.938 kB / 415.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.1439, allocations: 11.98 kB / 415.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.144, allocations: 4 kB / 415.4 MB, free: 14.53 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.0001359/0.1441, allocations: 137.7 kB / 415.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.1442, allocations: 35.75 kB / 415.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.1446, allocations: 223.1 kB / 415.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1446, allocations: 4 kB / 415.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1446, allocations: 3.938 kB / 415.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.1446, allocations: 0 / 415.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.145, allocations: 317.4 kB / 416.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.145, allocations: 4 kB / 416.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.1454, allocations: 63.89 kB / 416.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.1454, allocations: 4 kB / 416.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1454, allocations: 0 / 416.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1454, allocations: 0 / 416.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1454, allocations: 7.938 kB / 416.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.1461, allocations: 395.1 kB / 416.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1462, allocations: 113 kB / 416.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.1463, allocations: 4 kB / 416.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1464, allocations: 8 kB / 416.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.1465, allocations: 23.97 kB / 416.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1465, allocations: 4 kB / 416.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.1468, allocations: 247.1 kB / 417 MB, free: 12.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1468, allocations: 0 / 417 MB, free: 12.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1471, allocations: 44 kB / 417 MB, free: 12.82 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.0001522/0.1472, allocations: 111.2 kB / 417.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.1476, allocations: 159.9 kB / 417.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1476, allocations: 0 / 417.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.1478, allocations: 83.91 kB / 417.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1481, allocations: 36.14 kB / 417.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1495, allocations: 0.7254 MB / 418.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.1499, allocations: 0.7634 MB / 418.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.1501, allocations: 42.25 kB / 419 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.1502, allocations: 31.42 kB / 419 MB, free: 10.81 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1502, allocations: 0 / 419 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Templates: time 0.006859/0.157, allocations: 2.75 MB / 421.7 MB, free: 8.117 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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: 4.647640109062195]