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.0008458/0.0008458, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001411/0.001411, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.9082/0.9082, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 2.635e-06/2.635e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.229e-05, allocations: 6.219 kB / 318.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003381/0.003413, allocations: 1.981 MB / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.004475, allocations: 0.5223 MB / 321 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.00463, allocations: 0 / 321 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.004775, allocations: 23.67 kB / 321 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.005129, allocations: 83.36 kB / 321.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.005391, allocations: 59.84 kB / 321.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.006052, allocations: 279 kB / 321.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.006231, allocations: 40.84 kB / 321.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.006499, allocations: 147.5 kB / 321.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.006674, allocations: 95.61 kB / 321.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.006727, allocations: 20 kB / 321.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.135e-05/0.006758, allocations: 24 kB / 321.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.473e-05/0.006853, allocations: 59.69 kB / 321.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.006943, allocations: 87.55 kB / 321.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.007259, allocations: 227.1 kB / 322.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.007267, allocations: 0 / 322.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007268, allocations: 0 / 322.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.007274, allocations: 0 / 322.1 MB, free: 2.699 MB / 282.7 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.001003/0.008276, allocations: 0.5318 MB / 322.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.008323, allocations: 8.031 kB / 322.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.008372, allocations: 46.73 kB / 322.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.008437, allocations: 40.75 kB / 322.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.008821, allocations: 241.8 kB / 322.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.008838, allocations: 12.31 kB / 322.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.008875, allocations: 16.33 kB / 323 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.009137, allocations: 130.2 kB / 323.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.009147, allocations: 3.938 kB / 323.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.009163, allocations: 4 kB / 323.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00917, allocations: 0 / 323.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.009356, allocations: 79.95 kB / 323.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.01017, allocations: 467.5 kB / 323.6 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.01061, allocations: 170.7 kB / 323.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.01073, allocations: 56.84 kB / 323.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.01075, allocations: 4 kB / 323.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.01078, allocations: 34.56 kB / 323.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.435e-06/0.01078, allocations: 0 / 323.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001541/0.01232, allocations: 0.6014 MB / 324.5 MB, free: 124 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.01237, allocations: 55.41 kB / 324.5 MB, free: 56 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.01277, allocations: 336.6 kB / 324.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.01279, allocations: 25.7 kB / 324.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.01289, allocations: 152.4 kB / 325.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/0.01295, allocations: 71.41 kB / 325.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.01302, allocations: 37.7 kB / 325.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.01315, allocations: 338.8 kB / 325.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.01324, allocations: 59.97 kB / 325.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.01332, allocations: 71.28 kB / 325.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.0135, allocations: 148.7 kB / 325.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.0135, allocations: 4 kB / 325.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000241/0.01374, allocations: 212.6 kB / 326 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.01375, allocations: 4 kB / 326 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.01376, allocations: 3.984 kB / 326 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.01377, allocations: 0 / 326 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.01395, allocations: 59.91 kB / 326 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.01395, allocations: 0 / 326 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.01403, allocations: 15.92 kB / 326.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.01404, allocations: 4 kB / 326.1 MB, free: 14.5 MB / 298.7 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 9.98e-05/0.01414, allocations: 133.8 kB / 326.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.01417, allocations: 35.8 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.01445, allocations: 231.3 kB / 326.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.01446, allocations: 7.984 kB / 326.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01446, allocations: 0 / 326.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01446, allocations: 0 / 326.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.01469, allocations: 252.6 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01469, allocations: 0 / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.01489, allocations: 67.95 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01489, allocations: 4 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.01491, allocations: 7.984 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01491, allocations: 0 / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.01491, allocations: 7.938 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.01529, allocations: 387.1 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.01533, allocations: 31.86 kB / 327.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.01536, allocations: 8 kB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.01545, allocations: 11.98 kB / 327.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.01548, allocations: 7.984 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01549, allocations: 11.98 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.01566, allocations: 251 kB / 327.5 MB, free: 13 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01566, allocations: 0 / 327.5 MB, free: 13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.01585, allocations: 40 kB / 327.5 MB, free: 12.96 MB / 298.7 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.0005439/0.01639, allocations: 0.9209 MB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00047/0.01686, allocations: 150.3 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01686, allocations: 0 / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.01696, allocations: 83.91 kB / 328.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01724, allocations: 37.02 kB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.01979, allocations: 2.983 MB / 331.7 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.995e-05/0.01989, allocations: 163.5 kB / 331.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.941e-05/0.01998, allocations: 42.25 kB / 331.9 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.0201, allocations: 92.47 kB / 332 MB, free: 8.375 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0201, allocations: 0 / 332 MB, free: 8.375 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.03983, allocations: 6.571 MB / 338.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/6.95, allocations: 13.19 kB / 338.6 MB, free: 2.02 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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: 8.698317653499544]