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.001289/0.001289, allocations: 81.7 kB / 21.25 MB, free: 0.5469 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.002065/0.002065, allocations: 159.2 kB / 24.5 MB, free: 3.719 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.456/1.456, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.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.00187/0.00187, allocations: 61.58 kB / 325.6 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.144, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003928/0.1479, allocations: 2.004 MB / 380.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1492, allocations: 0.5495 MB / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1493, allocations: 0 / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.1495, allocations: 23.67 kB / 381.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.1498, allocations: 75.42 kB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1501, allocations: 51.92 kB / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.1505, allocations: 263 kB / 381.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1506, allocations: 48.83 kB / 381.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1509, allocations: 111.5 kB / 382 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1512, allocations: 131.2 kB / 382.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.1512, allocations: 20 kB / 382.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.291e-05/0.1513, allocations: 20 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1514, allocations: 59.7 kB / 382.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.1515, allocations: 95.33 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.1519, allocations: 246.8 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1519, allocations: 0 / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1519, allocations: 0 / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.152, allocations: 4 kB / 382.6 MB, free: 11.76 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.001357/0.1533, allocations: 0.524 MB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1534, allocations: 12.03 kB / 383.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.1534, allocations: 32.73 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.1539, allocations: 258.4 kB / 383.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.154, allocations: 12.12 kB / 383.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.154, allocations: 12 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.1544, allocations: 121.6 kB / 383.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1544, allocations: 0 / 383.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.1544, allocations: 8 kB / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1544, allocations: 4 kB / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.1547, allocations: 76.56 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.1555, allocations: 436 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.1561, allocations: 178.7 kB / 384.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1562, allocations: 56.78 kB / 384.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.1562, allocations: 4 kB / 384.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.1563, allocations: 38.44 kB / 384.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1563, allocations: 0 / 384.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001643/0.1579, allocations: 0.5905 MB / 384.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.158, allocations: 55.41 kB / 385 MB, free: 9.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.1584, allocations: 328.6 kB / 385.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1584, allocations: 29.7 kB / 385.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1586, allocations: 168.3 kB / 385.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/0.1586, allocations: 59.42 kB / 385.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.1587, allocations: 37.7 kB / 385.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.1589, allocations: 338.8 kB / 385.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1591, allocations: 63.97 kB / 386 MB, free: 8.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1592, allocations: 63.91 kB / 386.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.1595, allocations: 143.6 kB / 386.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1595, allocations: 3.938 kB / 386.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004113/0.1599, allocations: 220.6 kB / 386.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1599, allocations: 6.969 kB / 386.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1599, allocations: 0 / 386.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.16, allocations: 0 / 386.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.1603, allocations: 63.97 kB / 386.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1603, allocations: 7.922 kB / 386.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1604, allocations: 11.94 kB / 386.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1604, allocations: 4 kB / 386.5 MB, free: 7.656 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.0001371/0.1606, allocations: 125.8 kB / 386.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.1606, allocations: 35.8 kB / 386.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.1611, allocations: 220.5 kB / 386.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.1611, allocations: 4 kB / 386.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1611, allocations: 0 / 386.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.1611, allocations: 7.938 kB / 386.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1614, allocations: 225.2 kB / 387.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1614, allocations: 0 / 387.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.1618, allocations: 59.95 kB / 387.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1618, allocations: 0 / 387.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.1618, allocations: 4 kB / 387.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1618, allocations: 0 / 387.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1618, allocations: 0 / 387.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.1624, allocations: 397.1 kB / 387.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.1625, allocations: 35.86 kB / 387.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.1625, allocations: 4 kB / 387.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1627, allocations: 8 kB / 387.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.1628, allocations: 11.97 kB / 387.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1628, allocations: 7.938 kB / 387.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002954/0.1631, allocations: 259 kB / 387.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1631, allocations: 3.938 kB / 387.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1634, allocations: 40 kB / 387.9 MB, free: 6.172 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.0001607/0.1635, allocations: 111.2 kB / 388 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.1639, allocations: 143.9 kB / 388.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1639, allocations: 0 / 388.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.164, allocations: 82.56 kB / 388.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1644, allocations: 32.41 kB / 388.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1659, allocations: 0.7288 MB / 389 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.1661, allocations: 163.5 kB / 389.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1662, allocations: 30.28 kB / 389.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.1663, allocations: 28.48 kB / 389.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1663, allocations: 0 / 389.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of Templates: time 0.007857/0.1741, allocations: 2.923 MB / 392.2 MB, free: 1.949 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/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.709842360927723]