Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.001462/0.001462, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 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.00173/0.00173, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.526/1.526, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 53.41 MB / 431.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004139/0.3191, allocations: 2.246 MB / 433.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3205, allocations: 0.6276 MB / 434.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.3206, allocations: 7.938 kB / 434.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.3208, allocations: 23.67 kB / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.3211, allocations: 83.34 kB / 434.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.3214, allocations: 75.83 kB / 434.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.3217, allocations: 279.1 kB / 434.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3219, allocations: 48.94 kB / 434.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.3221, allocations: 127.4 kB / 434.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.3224, allocations: 147.2 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.304e-05/0.3224, allocations: 24 kB / 434.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.829e-05/0.3224, allocations: 24 kB / 434.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.3225, allocations: 71.61 kB / 434.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.3227, allocations: 127.1 kB / 435.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.323, allocations: 263.3 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.323, allocations: 0 / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.323, allocations: 0 / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.323, allocations: 0 / 435.3 MB, free: 2.801 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.001207/0.3242, allocations: 0.5476 MB / 435.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3243, allocations: 12.03 kB / 435.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.919e-05/0.3244, allocations: 50.73 kB / 435.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.3244, allocations: 36.7 kB / 436 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.3249, allocations: 258.7 kB / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3249, allocations: 20.22 kB / 436.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.325, allocations: 12 kB / 436.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.3257, allocations: 377.5 kB / 436.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3257, allocations: 3.938 kB / 436.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.3257, allocations: 8 kB / 436.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3257, allocations: 0 / 436.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.3259, allocations: 87.95 kB / 436.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/0.3267, allocations: 0.5045 MB / 437.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.3275, allocations: 303.3 kB / 437.5 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.3277, allocations: 138 kB / 437.7 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.3277, allocations: 4 kB / 437.7 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3278, allocations: 38.56 kB / 437.7 MB, free: 264 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.3278, allocations: 0 / 437.7 MB, free: 264 kB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002435/0.3302, allocations: 1.191 MB / 438.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.3303, allocations: 135.4 kB / 439 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.3307, allocations: 328.6 kB / 439.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3308, allocations: 33.64 kB / 439.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3309, allocations: 145.1 kB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.3309, allocations: 55.7 kB / 439.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.331, allocations: 70.12 kB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3312, allocations: 346.8 kB / 440 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.3313, allocations: 72.83 kB / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.3317, allocations: 314.8 kB / 440.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.3322, allocations: 416.9 kB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3322, allocations: 0 / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006573/0.3328, allocations: 413.5 kB / 441.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3329, allocations: 8 kB / 441.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.3329, allocations: 8 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.3329, allocations: 12 kB / 441.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.3332, allocations: 95.77 kB / 441.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.3332, allocations: 15.94 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.3334, allocations: 27.94 kB / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.3334, allocations: 24 kB / 441.4 MB, free: 12.24 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (51): * Single equations (assignments): 51 * 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.0001988/0.3336, allocations: 185.1 kB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/0.3342, allocations: 296.6 kB / 441.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.3349, allocations: 379.6 kB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.3349, allocations: 4 kB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3349, allocations: 3.984 kB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3349, allocations: 7.984 kB / 442.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.3353, allocations: 296.4 kB / 442.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3353, allocations: 0 / 442.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.3359, allocations: 135.9 kB / 442.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3359, allocations: 0 / 442.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.3359, allocations: 8 kB / 442.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3359, allocations: 4 kB / 442.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3359, allocations: 0 / 442.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.337, allocations: 0.7263 MB / 443.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.337, allocations: 43.72 kB / 443.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.3371, allocations: 12 kB / 443.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.3373, allocations: 11.98 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3374, allocations: 8 kB / 443.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3374, allocations: 8 kB / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.3377, allocations: 247 kB / 443.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3377, allocations: 0 / 443.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.3381, allocations: 68.06 kB / 443.8 MB, free: 9.75 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 (45): * Single equations (assignments): 45 * 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.001414/0.3395, allocations: 1.268 MB / 445 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005635/0.3401, allocations: 277.2 kB / 445.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3401, allocations: 8.688 kB / 445.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.3402, allocations: 31.92 kB / 445.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007733/0.341, allocations: 200.7 kB / 445.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.346, allocations: 3.819 MB / 449.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.3465, allocations: 0.8074 MB / 450.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.3466, allocations: 35.28 kB / 450.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.3468, allocations: 119.4 kB / 450.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3468, allocations: 3.938 kB / 450.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.3864, allocations: 7.588 MB / 457.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.39, allocations: 11.55 kB / 457.9 MB, free: 11.33 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable filter.x[1] from file Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable filter.x[2] in file Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable filter.x[2] from file Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable filter.x[3] in file Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable filter.x[3] from file Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable invMixingUnit.c in file Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable invMixingUnit.c from file Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable invMixingUnit.T in file Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable invMixingUnit.T from file Modelica_trunk_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: 15.218416537001758]