Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 55.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.135, allocations: 53.32 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004475/0.1395, allocations: 2.102 MB / 428.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.141, allocations: 0.5769 MB / 429 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.1413, allocations: 3.938 kB / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.1414, allocations: 23.67 kB / 429 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.1418, allocations: 75.48 kB / 429.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1421, allocations: 55.86 kB / 429.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.1425, allocations: 259.1 kB / 429.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1427, allocations: 40.72 kB / 429.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.143, allocations: 119.4 kB / 429.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1432, allocations: 139.2 kB / 429.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.1433, allocations: 20 kB / 429.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.1433, allocations: 24 kB / 429.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.1434, allocations: 59.69 kB / 429.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1435, allocations: 119.2 kB / 429.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.1439, allocations: 245.5 kB / 430.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1439, allocations: 3.938 kB / 430.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1439, allocations: 0 / 430.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1439, allocations: 0 / 430.2 MB, free: 0.9141 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.001242/0.1452, allocations: 0.6071 MB / 430.8 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1452, allocations: 12.03 kB / 430.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.1453, allocations: 42.75 kB / 430.8 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.1453, allocations: 28.75 kB / 430.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2229/0.3682, allocations: 316.8 kB / 431.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3682, allocations: 9 kB / 431.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.3683, allocations: 11.34 kB / 431.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.3687, allocations: 120.5 kB / 431.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3687, allocations: 1.125 kB / 431.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3687, allocations: 4.406 kB / 431.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3687, allocations: 3.625 kB / 431.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.3689, allocations: 82.53 kB / 431.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009838/0.3699, allocations: 0.5281 MB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.3705, allocations: 176.2 kB / 432.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.3706, allocations: 56.53 kB / 432.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.3706, allocations: 1.219 kB / 432.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.3706, allocations: 32.66 kB / 432.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.3706, allocations: 3.062 kB / 432.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001681/0.3723, allocations: 0.6623 MB / 432.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.3724, allocations: 57.81 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.3727, allocations: 337.9 kB / 433.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3727, allocations: 25.7 kB / 433.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3728, allocations: 162.1 kB / 433.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.3729, allocations: 62.77 kB / 433.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.3729, allocations: 36.22 kB / 433.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.373, allocations: 338.5 kB / 433.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3731, allocations: 59.45 kB / 433.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3733, allocations: 63.45 kB / 434 MB, free: 9.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.3735, allocations: 150.2 kB / 434.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3735, allocations: 0.625 kB / 434.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000342/0.3739, allocations: 215.4 kB / 434.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3739, allocations: 5.375 kB / 434.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3739, allocations: 1.375 kB / 434.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3739, allocations: 0 / 434.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.3742, allocations: 62.89 kB / 434.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3742, allocations: 2.094 kB / 434.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3744, allocations: 8.812 kB / 434.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.3744, allocations: 7.219 kB / 434.4 MB, free: 9.641 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.0001111/0.3745, allocations: 134 kB / 434.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3746, allocations: 29.69 kB / 434.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.3751, allocations: 231.4 kB / 434.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3751, allocations: 2.375 kB / 434.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3751, allocations: 1.062 kB / 434.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3751, allocations: 0 / 434.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.3754, allocations: 327.5 kB / 435.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3754, allocations: 2.375 kB / 435.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.3759, allocations: 60.19 kB / 435.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3759, allocations: 0.9688 kB / 435.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3759, allocations: 8.266 kB / 435.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3759, allocations: 0 / 435.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3759, allocations: 5.922 kB / 435.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.3765, allocations: 394.6 kB / 435.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3766, allocations: 108.3 kB / 435.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3766, allocations: 7.844 kB / 435.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.3768, allocations: 10.45 kB / 435.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.3769, allocations: 10.77 kB / 435.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3769, allocations: 6.688 kB / 435.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.3771, allocations: 245 kB / 436 MB, free: 8.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3771, allocations: 3.094 kB / 436 MB, free: 8.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.3775, allocations: 45.91 kB / 436 MB, free: 8.695 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.0007351/0.3782, allocations: 0.9287 MB / 436.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.3786, allocations: 146.3 kB / 437.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3786, allocations: 4 kB / 437.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.3787, allocations: 85.23 kB / 437.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3791, allocations: 34.92 kB / 437.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.3833, allocations: 3.058 MB / 440.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3835, allocations: 0.763 MB / 441 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.3837, allocations: 34 kB / 441.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.3838, allocations: 93.06 kB / 441.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3838, allocations: 4 kB / 441.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.4186, allocations: 5.708 MB / 446.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.684/9.103, allocations: 19.42 kB / 446.9 MB, free: 4.555 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 11.728121356107295]