Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 55.91 kB / 377.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2425, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003852/0.2463, allocations: 2.122 MB / 433.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2478, allocations: 0.5926 MB / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.248, allocations: 0 / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.2481, allocations: 27.61 kB / 433.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.2485, allocations: 79.41 kB / 433.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.2488, allocations: 79.84 kB / 434 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.2492, allocations: 275 kB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2494, allocations: 56.91 kB / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.2496, allocations: 127.3 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.2499, allocations: 147.2 kB / 434.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.2499, allocations: 20 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.2499, allocations: 24 kB / 434.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.25, allocations: 67.62 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2501, allocations: 103.3 kB / 434.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.2505, allocations: 267 kB / 435 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2505, allocations: 0 / 435 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2505, allocations: 0 / 435 MB, free: 2.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.2505, allocations: 0 / 435 MB, free: 2.668 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001147/0.2516, allocations: 0.5476 MB / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.2517, allocations: 8.031 kB / 435.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/0.2517, allocations: 50.73 kB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.2518, allocations: 32.7 kB / 435.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.2522, allocations: 262.7 kB / 435.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.2523, allocations: 16.22 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.2523, allocations: 20 kB / 436 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.253, allocations: 377.8 kB / 436.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.253, allocations: 0 / 436.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.253, allocations: 11.98 kB / 436.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2531, allocations: 4 kB / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.2533, allocations: 91.89 kB / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.254, allocations: 460.7 kB / 436.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.2547, allocations: 303.8 kB / 437.2 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.2549, allocations: 126.6 kB / 437.3 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.255, allocations: 11.98 kB / 437.3 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.255, allocations: 38.5 kB / 437.4 MB, free: 172 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.255, allocations: 0 / 437.4 MB, free: 172 kB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002312/0.2573, allocations: 1.161 MB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.2575, allocations: 126.9 kB / 438.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.2579, allocations: 336.6 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.2579, allocations: 29.7 kB / 439 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.258, allocations: 153 kB / 439.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.2581, allocations: 55.67 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-05/0.2582, allocations: 62.14 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2583, allocations: 346.8 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2585, allocations: 68.83 kB / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.2588, allocations: 300.7 kB / 440 MB, free: 13.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.2593, allocations: 399.2 kB / 440.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2593, allocations: 4 kB / 440.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006947/0.26, allocations: 409 kB / 440.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.26, allocations: 8 kB / 440.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.26, allocations: 8 kB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.2601, allocations: 12 kB / 440.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.2603, allocations: 95.83 kB / 440.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.2603, allocations: 12.5 kB / 440.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.2606, allocations: 27.94 kB / 440.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.2606, allocations: 24 kB / 440.9 MB, free: 12.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.00019/0.2608, allocations: 165.5 kB / 441.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/0.2613, allocations: 286 kB / 441.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.2619, allocations: 376.5 kB / 441.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.262, allocations: 4 kB / 441.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.262, allocations: 0 / 441.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.262, allocations: 4 kB / 441.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.2623, allocations: 240.6 kB / 442 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2623, allocations: 0 / 442 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.2629, allocations: 123.8 kB / 442.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2629, allocations: 0 / 442.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.2629, allocations: 8 kB / 442.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.2629, allocations: 7.938 kB / 442.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2629, allocations: 80 / 442.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.264, allocations: 0.6992 MB / 442.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.264, allocations: 47.75 kB / 442.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.2641, allocations: 12.06 kB / 442.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2643, allocations: 12 kB / 442.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.2644, allocations: 8.047 kB / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.2644, allocations: 16 kB / 442.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002703/0.2647, allocations: 247 kB / 443.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2647, allocations: 7.875 kB / 443.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004386/0.2651, allocations: 60 kB / 443.2 MB, free: 9.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.00133/0.2664, allocations: 1.249 MB / 444.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005311/0.267, allocations: 281.5 kB / 444.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.267, allocations: 0.6875 kB / 444.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.267, allocations: 31.92 kB / 444.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007506/0.2678, allocations: 191 kB / 445 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.2727, allocations: 3.758 MB / 448.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.2729, allocations: 201.6 kB / 448.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.273, allocations: 39.27 kB / 449 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.2732, allocations: 111.4 kB / 449.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2732, allocations: 0 / 449.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.3106, allocations: 7.94 MB / 457 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.42, allocations: 4.062 kB / 457 MB, free: 11.88 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0545355 Modelica_4_1_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable filter.x[1] in file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable filter.x[1] from file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable filter.x[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable filter.x[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable filter.x[3] in file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable filter.x[3] from file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable invMixingUnit.c in file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable invMixingUnit.c from file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable invMixingUnit.T in file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable invMixingUnit.T from file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,filter.x[1],filter.x[2],filter.x[3],invMixingUnit.c,invMixingUnit.T,mixingUnit.c,mixingUnit.T Variables in the result:time,mixingUnit.T,mixingUnit.c [Calling sys.exit(0), Time elapsed: 13.97610418801196]