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.001578/0.001578, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002096/0.002096, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.52/1.52, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.001875/0.001875, allocations: 55.91 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 53.41 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004534/0.3045, allocations: 2.011 MB / 433.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.306, allocations: 0.534 MB / 434.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.3062, allocations: 4 kB / 434.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.3063, allocations: 23.67 kB / 434.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.3068, allocations: 79.41 kB / 434.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.307, allocations: 55.86 kB / 434.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.3074, allocations: 267.1 kB / 434.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3076, allocations: 36.91 kB / 434.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.3079, allocations: 119.4 kB / 435 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.3082, allocations: 127.3 kB / 435.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.3082, allocations: 23.94 kB / 435.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.3083, allocations: 20 kB / 435.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3084, allocations: 71.67 kB / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.3085, allocations: 99.27 kB / 435.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.3088, allocations: 238.8 kB / 435.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3088, allocations: 4 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3088, allocations: 0 / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3088, allocations: 0 / 435.6 MB, free: 2.75 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.001141/0.31, allocations: 0.5356 MB / 436.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.31, allocations: 8.031 kB / 436.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.905e-05/0.31, allocations: 4.188 kB / 436.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.3101, allocations: 46.73 kB / 436.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.3101, allocations: 32.75 kB / 436.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.3105, allocations: 258.3 kB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3105, allocations: 11.94 kB / 436.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.3106, allocations: 16 kB / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.3108, allocations: 118.3 kB / 436.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3108, allocations: 0 / 436.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3109, allocations: 4 kB / 436.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3109, allocations: 7.984 kB / 436.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.3111, allocations: 71.95 kB / 436.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008309/0.3119, allocations: 467.4 kB / 437.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.3124, allocations: 178.6 kB / 437.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3125, allocations: 56.84 kB / 437.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3126, allocations: 0 / 437.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3126, allocations: 42.55 kB / 437.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.3126, allocations: 0 / 437.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001552/0.3142, allocations: 0.5865 MB / 438 MB, free: 172 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3142, allocations: 55.34 kB / 438.1 MB, free: 104 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.3146, allocations: 336.6 kB / 438.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3146, allocations: 25.7 kB / 438.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3148, allocations: 164.3 kB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.3148, allocations: 63.48 kB / 438.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.3149, allocations: 33.7 kB / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3151, allocations: 346.8 kB / 439 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3152, allocations: 59.97 kB / 439.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3153, allocations: 63.34 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.3156, allocations: 140.8 kB / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3156, allocations: 0 / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000384/0.316, allocations: 216.7 kB / 439.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.316, allocations: 11.94 kB / 439.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.316, allocations: 4 kB / 439.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3161, allocations: 7.938 kB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.3164, allocations: 59.95 kB / 439.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3164, allocations: 0 / 439.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3165, allocations: 7.938 kB / 439.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3165, allocations: 8 kB / 439.6 MB, free: 14.55 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.0001327/0.3167, allocations: 137.7 kB / 439.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.3167, allocations: 31.8 kB / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.3172, allocations: 222.9 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3172, allocations: 3.938 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3172, allocations: 0 / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3172, allocations: 0 / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.3176, allocations: 264.6 kB / 440.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3176, allocations: 0 / 440.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.3179, allocations: 59.89 kB / 440.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3179, allocations: 0 / 440.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.318, allocations: 8 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.318, allocations: 3.938 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.318, allocations: 4 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.3186, allocations: 386.2 kB / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.3186, allocations: 35.84 kB / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.3187, allocations: 7.938 kB / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3189, allocations: 11.88 kB / 440.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.3189, allocations: 15.97 kB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3189, allocations: 4 kB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003051/0.3192, allocations: 251 kB / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3192, allocations: 0 / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3195, allocations: 44 kB / 441.1 MB, free: 13.01 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.0008949/0.3204, allocations: 0.9217 MB / 442 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.3207, allocations: 147.9 kB / 442.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3207, allocations: 0 / 442.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.3209, allocations: 83.89 kB / 442.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3213, allocations: 35.78 kB / 442.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.3255, allocations: 3.073 MB / 445.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.3256, allocations: 159.5 kB / 445.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.3257, allocations: 30.27 kB / 445.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.3259, allocations: 91.41 kB / 445.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3259, allocations: 0 / 445.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.3567, allocations: 6.052 MB / 451.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.79, allocations: 4.062 kB / 451.6 MB, free: 2.484 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.63527074700687]