Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 116.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 63.89 kB / 373.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.134, allocations: 53.32 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003717/0.1377, allocations: 2.093 MB / 429.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1389, allocations: 0.5885 MB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.139, allocations: 0 / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.1391, allocations: 23.67 kB / 429.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.1395, allocations: 79.42 kB / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.1396, allocations: 47.92 kB / 430 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.14, allocations: 263 kB / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1401, allocations: 40.72 kB / 430.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1404, allocations: 119.4 kB / 430.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1406, allocations: 131.3 kB / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1406, allocations: 20 kB / 430.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.591e-05/0.1406, allocations: 20 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.722e-05/0.1407, allocations: 59.69 kB / 430.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.1409, allocations: 127.2 kB / 430.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.1412, allocations: 242.6 kB / 431 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1412, allocations: 0 / 431 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1412, allocations: 0 / 431 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1412, allocations: 0 / 431 MB, free: 0.6133 MB / 350.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.001213/0.1424, allocations: 0.6098 MB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1425, allocations: 8.031 kB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.1425, allocations: 32.75 kB / 431.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.143, allocations: 312.2 kB / 432 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.143, allocations: 16.12 kB / 432 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/0.1431, allocations: 12 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.1434, allocations: 125.6 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1435, allocations: 0 / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1435, allocations: 0 / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1435, allocations: 4 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.1437, allocations: 83.83 kB / 432.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.1446, allocations: 0.5198 MB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.1451, allocations: 178.7 kB / 432.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.1453, allocations: 64.77 kB / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1453, allocations: 3.938 kB / 433 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1453, allocations: 34.56 kB / 433 MB, free: 14.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1453, allocations: 3.938 kB / 433 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.00166/0.147, allocations: 0.6617 MB / 433.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.147, allocations: 55.41 kB / 433.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.1474, allocations: 332.6 kB / 434 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1475, allocations: 29.69 kB / 434.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1476, allocations: 160.3 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.1477, allocations: 63.48 kB / 434.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.1477, allocations: 33.7 kB / 434.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1479, allocations: 342.8 kB / 434.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.148, allocations: 63.92 kB / 434.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1482, allocations: 59.97 kB / 434.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.1485, allocations: 151.7 kB / 434.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1485, allocations: 0 / 434.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003821/0.1488, allocations: 213.4 kB / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1489, allocations: 8 kB / 435.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1489, allocations: 3.984 kB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1489, allocations: 0 / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.1492, allocations: 63.89 kB / 435.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.1492, allocations: 7.938 kB / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.1493, allocations: 7.938 kB / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.1494, allocations: 8 kB / 435.2 MB, free: 12.13 MB / 366.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.0001472/0.1495, allocations: 129.8 kB / 435.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.1496, allocations: 27.81 kB / 435.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.15, allocations: 224.5 kB / 435.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.15, allocations: 0 / 435.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.15, allocations: 3.938 kB / 435.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.15, allocations: 8 kB / 435.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.1505, allocations: 325.4 kB / 435.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1505, allocations: 0 / 435.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.1508, allocations: 59.95 kB / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1508, allocations: 0 / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.1509, allocations: 11.98 kB / 436 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1509, allocations: 3.938 kB / 436 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1509, allocations: 3.938 kB / 436 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.1515, allocations: 393.4 kB / 436.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.1516, allocations: 105 kB / 436.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.1516, allocations: 12 kB / 436.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.1518, allocations: 7.984 kB / 436.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.1519, allocations: 11.92 kB / 436.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1519, allocations: 8 kB / 436.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002791/0.1522, allocations: 247 kB / 436.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1522, allocations: 0 / 436.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1524, allocations: 44 kB / 436.8 MB, free: 10.44 MB / 366.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.0001406/0.1526, allocations: 111.2 kB / 436.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.1529, allocations: 143.9 kB / 437.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1529, allocations: 0 / 437.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.1531, allocations: 83.89 kB / 437.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1535, allocations: 30.5 kB / 437.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1549, allocations: 0.7211 MB / 437.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.1553, allocations: 0.7675 MB / 438.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1555, allocations: 30.28 kB / 438.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.943e-05/0.1556, allocations: 31.42 kB / 438.7 MB, free: 8.461 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1556, allocations: 3.938 kB / 438.7 MB, free: 8.457 MB / 366.1 MB Notification: Performance of Templates: time 0.007208/0.1628, allocations: 2.778 MB / 441.5 MB, free: 5.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.744909660890698]