Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_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_0_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.00166/0.00166, allocations: 55.89 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2936, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003636/0.2972, allocations: 2.102 MB / 424.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2983, allocations: 0.5496 MB / 425.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.2984, allocations: 4 kB / 425.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.2985, allocations: 23.67 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.2988, allocations: 83.41 kB / 425.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.2991, allocations: 55.91 kB / 425.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.2994, allocations: 263 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.2996, allocations: 44.86 kB / 425.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.2998, allocations: 107.4 kB / 425.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.3, allocations: 139.2 kB / 426 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.3001, allocations: 20 kB / 426 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.907e-05/0.3001, allocations: 20 kB / 426 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.3002, allocations: 63.67 kB / 426.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.3003, allocations: 119.2 kB / 426.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.3007, allocations: 235.1 kB / 426.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3007, allocations: 0 / 426.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3007, allocations: 4 kB / 426.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3007, allocations: 0 / 426.5 MB, free: 10.79 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.001259/0.302, allocations: 0.5357 MB / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.302, allocations: 8.031 kB / 427 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.801e-05/0.3021, allocations: 42.73 kB / 427 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.3022, allocations: 40.7 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.3026, allocations: 246.5 kB / 427.3 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3026, allocations: 11.94 kB / 427.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.3026, allocations: 15.95 kB / 427.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.3029, allocations: 125.6 kB / 427.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3029, allocations: 0 / 427.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.303, allocations: 4 kB / 427.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.303, allocations: 4 kB / 427.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.3032, allocations: 83.89 kB / 427.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008583/0.304, allocations: 499.4 kB / 428 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.3045, allocations: 178.6 kB / 428.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3047, allocations: 65.02 kB / 428.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.3047, allocations: 11.94 kB / 428.3 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3047, allocations: 34.56 kB / 428.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.3047, allocations: 0 / 428.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0015/0.3062, allocations: 0.5961 MB / 428.9 MB, free: 8.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.3063, allocations: 51.41 kB / 429 MB, free: 8.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.3067, allocations: 332.6 kB / 429.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3067, allocations: 25.7 kB / 429.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3068, allocations: 160.3 kB / 429.5 MB, free: 7.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/0.3069, allocations: 67.42 kB / 429.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.307, allocations: 33.72 kB / 429.6 MB, free: 7.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3072, allocations: 346.7 kB / 429.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3073, allocations: 59.97 kB / 430 MB, free: 7.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.3074, allocations: 66.03 kB / 430 MB, free: 6.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.3077, allocations: 146.6 kB / 430.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3077, allocations: 0 / 430.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003802/0.3081, allocations: 209.4 kB / 430.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3081, allocations: 4 kB / 430.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3081, allocations: 4 kB / 430.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3081, allocations: 0 / 430.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.3084, allocations: 67.83 kB / 430.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3084, allocations: 3.984 kB / 430.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.3086, allocations: 11.94 kB / 430.5 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.3086, allocations: 7.984 kB / 430.5 MB, free: 6.535 MB / 334.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.0001426/0.3088, allocations: 125.8 kB / 430.6 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.3088, allocations: 31.81 kB / 430.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.3093, allocations: 224.5 kB / 430.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.3093, allocations: 7.938 kB / 430.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3093, allocations: 0 / 430.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3093, allocations: 3.984 kB / 430.9 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.3097, allocations: 296.5 kB / 431.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3097, allocations: 0 / 431.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.31, allocations: 55.95 kB / 431.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.31, allocations: 7.938 kB / 431.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.3101, allocations: 11.98 kB / 431.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3101, allocations: 3.938 kB / 431.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3101, allocations: 4 kB / 431.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.3107, allocations: 383.2 kB / 431.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.3108, allocations: 31.86 kB / 431.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.3108, allocations: 7.922 kB / 431.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.311, allocations: 11.94 kB / 431.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.311, allocations: 19.88 kB / 431.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3111, allocations: 8.125 kB / 431.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.3113, allocations: 247.1 kB / 431.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3113, allocations: 0 / 431.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3116, allocations: 40 kB / 432 MB, free: 4.965 MB / 334.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.0009237/0.3125, allocations: 0.9257 MB / 432.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.3129, allocations: 158.8 kB / 433.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3129, allocations: 0 / 433.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.313, allocations: 79.91 kB / 433.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.3134, allocations: 36.53 kB / 433.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.3177, allocations: 3.071 MB / 436.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.3181, allocations: 0.7673 MB / 437 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.3182, allocations: 34.27 kB / 437 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.3184, allocations: 95.41 kB / 437.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3184, allocations: 0 / 437.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.3535, allocations: 5.881 MB / 443 MB, free: 9.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.98, allocations: 22.17 kB / 443 MB, free: 9.969 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.561090679140761]