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.001522/0.001522, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001579/0.001579, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.725/1.725, allocations: 230.4 MB / 254.7 MB, free: 15.04 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 59.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1476, allocations: 53.38 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004031/0.1516, allocations: 2.088 MB / 429.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1528, allocations: 0.5808 MB / 429.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1529, allocations: 3.938 kB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.1531, allocations: 23.67 kB / 429.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1534, allocations: 75.47 kB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.1536, allocations: 59.86 kB / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.154, allocations: 255.1 kB / 430.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.1542, allocations: 48.7 kB / 430.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.1544, allocations: 115.4 kB / 430.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.1546, allocations: 135.2 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.1547, allocations: 20 kB / 430.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.615e-05/0.1547, allocations: 20 kB / 430.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1548, allocations: 67.67 kB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.1549, allocations: 119.2 kB / 430.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.1552, allocations: 242.7 kB / 430.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1553, allocations: 0 / 430.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1553, allocations: 3.938 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1553, allocations: 0 / 430.9 MB, free: 0.75 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.001215/0.1565, allocations: 0.6071 MB / 431.5 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1565, allocations: 8.031 kB / 431.5 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.104e-05/0.1566, allocations: 8.188 kB / 431.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.1566, allocations: 46.73 kB / 431.6 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.267/0.4236, allocations: 30.89 kB / 431.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.4243, allocations: 307 kB / 431.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.4243, allocations: 8.375 kB / 431.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.4243, allocations: 13.25 kB / 431.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.4247, allocations: 121.5 kB / 432.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4247, allocations: 5.156 kB / 432.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.4248, allocations: 8.078 kB / 432.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.4248, allocations: 4.875 kB / 432.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.425, allocations: 75.27 kB / 432.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.4261, allocations: 0.5287 MB / 432.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.4268, allocations: 174.2 kB / 432.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.4269, allocations: 58.28 kB / 432.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.4269, allocations: 5.75 kB / 432.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.427, allocations: 37.56 kB / 432.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/0.427, allocations: 0 / 432.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001867/0.4289, allocations: 0.6705 MB / 433.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.4289, allocations: 51.41 kB / 433.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.4293, allocations: 335.9 kB / 434 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.4293, allocations: 29.08 kB / 434 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4294, allocations: 161.1 kB / 434.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.4295, allocations: 59.61 kB / 434.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.4296, allocations: 36.88 kB / 434.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4297, allocations: 340.9 kB / 434.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.4298, allocations: 59.58 kB / 434.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.4299, allocations: 60.38 kB / 434.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.4302, allocations: 148 kB / 434.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4302, allocations: 0 / 434.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003847/0.4306, allocations: 215.1 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4306, allocations: 4.688 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4306, allocations: 4.906 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.4306, allocations: 3.453 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.4309, allocations: 56.3 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.431, allocations: 1.562 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.4311, allocations: 10.92 kB / 435.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.4311, allocations: 7.5 kB / 435.2 MB, free: 9.125 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.0001129/0.4313, allocations: 131.9 kB / 435.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.4313, allocations: 32.59 kB / 435.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.4318, allocations: 219 kB / 435.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4318, allocations: 3.062 kB / 435.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4318, allocations: 0.7656 kB / 435.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4318, allocations: 0 / 435.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.4321, allocations: 329.8 kB / 435.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4321, allocations: 1.188 kB / 435.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.4325, allocations: 64.2 kB / 435.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4325, allocations: 2.812 kB / 435.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.4325, allocations: 9.406 kB / 435.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4326, allocations: 3.047 kB / 435.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4326, allocations: 0 / 435.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.4332, allocations: 398 kB / 436.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.4333, allocations: 111 kB / 436.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.4333, allocations: 1.156 kB / 436.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.4335, allocations: 9.391 kB / 436.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.4336, allocations: 10.98 kB / 436.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4336, allocations: 10.95 kB / 436.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.4339, allocations: 250.4 kB / 436.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4339, allocations: 3.812 kB / 436.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.4342, allocations: 41.03 kB / 436.8 MB, free: 8.406 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.0008661/0.4351, allocations: 0.9253 MB / 437.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.4354, allocations: 150.1 kB / 437.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4354, allocations: 0 / 437.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.4356, allocations: 78.58 kB / 437.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.4359, allocations: 39.7 kB / 437.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.4402, allocations: 3.065 MB / 441 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.4405, allocations: 0.7664 MB / 441.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.4406, allocations: 33.08 kB / 441.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.4408, allocations: 92.8 kB / 441.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4408, allocations: 0 / 441.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.4704, allocations: 5.754 MB / 447.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.157/9.627, allocations: 15.14 kB / 447.7 MB, free: 4.246 MB / 350.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] 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: 12.642757175024599]