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.001405/0.001405, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001857/0.001857, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.641/1.641, allocations: 230.6 MB / 257.5 MB, free: 8 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.001832/0.001832, allocations: 47.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.352, allocations: 53.36 MB / 431.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004134/0.3561, allocations: 2.11 MB / 433.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3575, allocations: 0.5923 MB / 433.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.3577, allocations: 4 kB / 433.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.3578, allocations: 23.67 kB / 433.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.3582, allocations: 75.42 kB / 434 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3585, allocations: 55.92 kB / 434 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.3589, allocations: 259.1 kB / 434.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.3591, allocations: 44.84 kB / 434.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.3594, allocations: 115.4 kB / 434.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.3597, allocations: 139.2 kB / 434.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.3597, allocations: 20 kB / 434.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.265e-05/0.3598, allocations: 20 kB / 434.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/0.3599, allocations: 55.7 kB / 434.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.36, allocations: 123.2 kB / 434.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.3603, allocations: 239.1 kB / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3603, allocations: 8 kB / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3603, allocations: 0 / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3604, allocations: 0 / 435 MB, free: 2.984 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.001191/0.3615, allocations: 0.5318 MB / 435.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3616, allocations: 12.03 kB / 435.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.034e-05/0.3616, allocations: 42.69 kB / 435.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.3617, allocations: 32.69 kB / 435.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.3621, allocations: 254.5 kB / 435.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3621, allocations: 11.94 kB / 435.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.3622, allocations: 16 kB / 435.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.3624, allocations: 121.6 kB / 436 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3625, allocations: 0 / 436 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.3625, allocations: 8 kB / 436 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3625, allocations: 0 / 436 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3627, allocations: 83.89 kB / 436.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.3636, allocations: 0.4954 MB / 436.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.3641, allocations: 174.7 kB / 436.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.3642, allocations: 60.78 kB / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3642, allocations: 4 kB / 436.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3643, allocations: 38.48 kB / 436.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3643, allocations: 0 / 436.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001586/0.3659, allocations: 0.5934 MB / 437.5 MB, free: 368 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3659, allocations: 55.41 kB / 437.5 MB, free: 300 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.3664, allocations: 328.6 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.3664, allocations: 29.7 kB / 437.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3666, allocations: 160.3 kB / 438 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.3666, allocations: 59.48 kB / 438.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.3667, allocations: 41.7 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.3669, allocations: 342.8 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3671, allocations: 59.97 kB / 438.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3672, allocations: 59.97 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.3675, allocations: 150.5 kB / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3675, allocations: 4 kB / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003775/0.3678, allocations: 209.4 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3679, allocations: 12 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3679, allocations: 0 / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3679, allocations: 0 / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.3682, allocations: 63.83 kB / 439 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3682, allocations: 0 / 439 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3684, allocations: 11.94 kB / 439 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3684, allocations: 7.938 kB / 439 MB, free: 14.74 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.0001571/0.3685, allocations: 133.8 kB / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.3686, allocations: 31.81 kB / 439.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.3691, allocations: 224.5 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3691, allocations: 7.875 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3691, allocations: 0 / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3691, allocations: 0 / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.3695, allocations: 296.5 kB / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3695, allocations: 0 / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.3699, allocations: 59.95 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3699, allocations: 4 kB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.3699, allocations: 8 kB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.3699, allocations: 7.922 kB / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3699, allocations: 0 / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.3706, allocations: 387.2 kB / 440.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.3706, allocations: 31.86 kB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.3707, allocations: 4 kB / 440.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.3709, allocations: 19.92 kB / 440.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.3709, allocations: 7.984 kB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.371, allocations: 11.98 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.3712, allocations: 243.1 kB / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3712, allocations: 0 / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3715, allocations: 44 kB / 440.5 MB, free: 13.18 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.0009435/0.3725, allocations: 0.923 MB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.3728, allocations: 150.5 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3728, allocations: 0 / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.373, allocations: 83.03 kB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3734, allocations: 39.73 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.3777, allocations: 3.065 MB / 444.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.3781, allocations: 0.7635 MB / 445.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.3782, allocations: 30.28 kB / 445.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3784, allocations: 95.39 kB / 445.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3784, allocations: 0 / 445.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/0.4206, allocations: 5.901 MB / 451.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.34, allocations: 20.17 kB / 451.6 MB, free: 2.184 MB / 350.1 MB " [Timeout remaining time 648] (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: 15.084818524075672]