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.0008343/0.0008343, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008563/0.0008563, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8673/0.8673, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.317e-05, allocations: 3.688 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002301/0.002324, allocations: 2 MB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.003039, allocations: 0.5496 MB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.003132, allocations: 3.938 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.003234, allocations: 23.67 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.003495, allocations: 75.42 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.00366, allocations: 55.84 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.003892, allocations: 275 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.004002, allocations: 40.89 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.004206, allocations: 155.4 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.00432, allocations: 99.59 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.004382, allocations: 20 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.107e-05/0.004403, allocations: 20 kB / 327.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.004471, allocations: 67.69 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.004531, allocations: 75.64 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.00473, allocations: 235 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004732, allocations: 0 / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004733, allocations: 4 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004737, allocations: 0 / 328.2 MB, free: 12.21 MB / 298.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.0007314/0.005468, allocations: 0.524 MB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.005512, allocations: 15.98 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.00555, allocations: 42.73 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.005589, allocations: 32.75 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.005882, allocations: 257.7 kB / 329.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.005895, allocations: 8.375 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.005924, allocations: 12.38 kB / 329.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.006106, allocations: 121.6 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.006114, allocations: 4 kB / 329.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.006127, allocations: 11.94 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.006132, allocations: 0 / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.006259, allocations: 75.95 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.006839, allocations: 463.4 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.007159, allocations: 174.7 kB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/0.007238, allocations: 60.83 kB / 330 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.007259, allocations: 4 kB / 330 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.007274, allocations: 30.56 kB / 330 MB, free: 10.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.007275, allocations: 0 / 330 MB, free: 10.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001088/0.008363, allocations: 0.6015 MB / 330.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.008393, allocations: 63.33 kB / 330.7 MB, free: 9.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.008665, allocations: 336.5 kB / 331 MB, free: 9.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.00868, allocations: 25.7 kB / 331 MB, free: 9.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.008751, allocations: 152.4 kB / 331.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.008796, allocations: 63.48 kB / 331.2 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.008842, allocations: 33.7 kB / 331.3 MB, free: 8.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.008928, allocations: 346.8 kB / 331.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.00902, allocations: 63.97 kB / 331.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.009107, allocations: 67.91 kB / 331.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.009336, allocations: 147.8 kB / 331.9 MB, free: 8.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.009337, allocations: 0 / 331.9 MB, free: 8.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002422/0.009579, allocations: 217.3 kB / 332.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.009592, allocations: 4 kB / 332.1 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009597, allocations: 0 / 332.1 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.009608, allocations: 0 / 332.1 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.009762, allocations: 67.95 kB / 332.2 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.009767, allocations: 0 / 332.2 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.009834, allocations: 7.938 kB / 332.2 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.009844, allocations: 8 kB / 332.2 MB, free: 8.004 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 7.987e-05/0.009924, allocations: 129.8 kB / 332.3 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.009956, allocations: 35.81 kB / 332.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.01023, allocations: 212.5 kB / 332.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01023, allocations: 4 kB / 332.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01024, allocations: 4 kB / 332.6 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01024, allocations: 0 / 332.6 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.01046, allocations: 268.5 kB / 332.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.01046, allocations: 0 / 332.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.01064, allocations: 59.89 kB / 332.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01064, allocations: 4 kB / 332.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01066, allocations: 4 kB / 332.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01066, allocations: 0 / 332.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01066, allocations: 4 kB / 332.9 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.01104, allocations: 394.1 kB / 333.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.01108, allocations: 31.86 kB / 333.3 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.0111, allocations: 4 kB / 333.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.0112, allocations: 8 kB / 333.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.01123, allocations: 15.91 kB / 333.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01124, allocations: 8 kB / 333.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002471/0.01149, allocations: 251 kB / 333.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01149, allocations: 0 / 333.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.01168, allocations: 40 kB / 333.6 MB, free: 6.488 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.0005343/0.01221, allocations: 0.9269 MB / 334.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.01243, allocations: 140 kB / 334.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.01243, allocations: 0 / 334.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.01253, allocations: 86.08 kB / 334.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.01277, allocations: 42.14 kB / 334.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.01546, allocations: 3.003 MB / 337.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.943e-05/0.01556, allocations: 155.5 kB / 338 MB, free: 2.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.566e-05/0.01565, allocations: 30.27 kB / 338 MB, free: 1.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.01576, allocations: 96.45 kB / 338.1 MB, free: 1.898 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01577, allocations: 0 / 338.1 MB, free: 1.898 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.03443, allocations: 6.569 MB / 344.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.729, allocations: 11.33 kB / 344.7 MB, free: 11.5 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.09996 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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] "Error: Could not read variable filter.x[2] in file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[2] from file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! Error: Could not read variable filter.x[3] in file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[3] from file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.498191194608808]