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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 112.6 kB / 17.07 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 51.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3164, allocations: 49.43 MB / 400.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003542/0.32, allocations: 2.082 MB / 402.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3211, allocations: 0.5457 MB / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.3212, allocations: 0 / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.3214, allocations: 23.67 kB / 402.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.3217, allocations: 83.41 kB / 403 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3219, allocations: 55.92 kB / 403.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.3223, allocations: 255.1 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3224, allocations: 56.67 kB / 403.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.3226, allocations: 111.4 kB / 403.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.3228, allocations: 135.2 kB / 403.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.3229, allocations: 20 kB / 403.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.3229, allocations: 20 kB / 403.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.323, allocations: 67.69 kB / 403.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3232, allocations: 111.2 kB / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.3235, allocations: 237.7 kB / 404 MB, free: 5.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3235, allocations: 0 / 404 MB, free: 5.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3235, allocations: 4 kB / 404 MB, free: 5.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3235, allocations: 4 kB / 404 MB, free: 5 MB / 318.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.001123/0.3246, allocations: 0.6032 MB / 404.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3247, allocations: 12.02 kB / 404.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.3247, allocations: 42.75 kB / 404.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.3248, allocations: 36.7 kB / 404.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.3252, allocations: 308.3 kB / 405 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3252, allocations: 11.94 kB / 405.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.3253, allocations: 19.95 kB / 405.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3256, allocations: 125.6 kB / 405.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3256, allocations: 0 / 405.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3256, allocations: 4 kB / 405.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3256, allocations: 4 kB / 405.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.3258, allocations: 75.91 kB / 405.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008754/0.3267, allocations: 0.5314 MB / 405.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.3272, allocations: 170.8 kB / 406 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3274, allocations: 65.03 kB / 406 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.3274, allocations: 0 / 406 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3274, allocations: 46.55 kB / 406.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.3274, allocations: 0 / 406.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.00156/0.329, allocations: 0.6538 MB / 406.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.329, allocations: 55.41 kB / 406.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.3295, allocations: 332.6 kB / 407.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3295, allocations: 25.7 kB / 407.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.3296, allocations: 164.3 kB / 407.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.3297, allocations: 67.44 kB / 407.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.3298, allocations: 37.7 kB / 407.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.33, allocations: 338.8 kB / 407.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3301, allocations: 63.97 kB / 407.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.3303, allocations: 61.66 kB / 407.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.3306, allocations: 143.3 kB / 408 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3306, allocations: 3.938 kB / 408 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003968/0.331, allocations: 217.3 kB / 408.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.331, allocations: 4 kB / 408.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.331, allocations: 4 kB / 408.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3311, allocations: 0 / 408.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.3314, allocations: 67.89 kB / 408.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3314, allocations: 0 / 408.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.3315, allocations: 11.94 kB / 408.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.3316, allocations: 8 kB / 408.3 MB, free: 468 kB / 318.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.0001378/0.3317, allocations: 129.8 kB / 408.4 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.3318, allocations: 39.81 kB / 408.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.3322, allocations: 216.5 kB / 408.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3323, allocations: 7.938 kB / 408.7 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3323, allocations: 0 / 408.7 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3323, allocations: 0 / 408.7 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.3327, allocations: 321.4 kB / 409 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3327, allocations: 3.938 kB / 409 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.3331, allocations: 55.95 kB / 409.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3331, allocations: 0 / 409.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.3332, allocations: 12 kB / 409.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.3332, allocations: 7.922 kB / 409.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3332, allocations: 0 / 409.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.3339, allocations: 393.8 kB / 409.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.3341, allocations: 109 kB / 409.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.3341, allocations: 4 kB / 409.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.3343, allocations: 15.92 kB / 409.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.3344, allocations: 19.88 kB / 409.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3344, allocations: 4 kB / 409.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.3347, allocations: 251 kB / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3347, allocations: 0 / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.335, allocations: 40 kB / 409.9 MB, free: 14.76 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.0009877/0.336, allocations: 0.927 MB / 410.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.3364, allocations: 169.9 kB / 411 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3364, allocations: 0 / 411 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3366, allocations: 87.89 kB / 411.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.3369, allocations: 33.03 kB / 411.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.3413, allocations: 3.061 MB / 414.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3417, allocations: 0.7673 MB / 414.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3418, allocations: 30.27 kB / 415 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.342, allocations: 91.41 kB / 415.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.342, allocations: 0 / 415.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.3731, allocations: 5.688 MB / 420.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.882/9.255, allocations: 7.031 kB / 420.8 MB, free: 3.984 MB / 334.1 MB (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 --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) 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) Reference file matches