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.001952/0.001952, allocations: 116 kB / 20.43 MB, free: 1.457 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.002889/0.002889, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.604/1.604, allocations: 230.6 MB / 257.5 MB, free: 8 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.001595/0.001595, allocations: 47.94 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3267, allocations: 53.35 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004521/0.3312, allocations: 2.259 MB / 433.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3326, allocations: 0.6237 MB / 434 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.3328, allocations: 4 kB / 434 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.333, allocations: 27.61 kB / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.3332, allocations: 75.42 kB / 434.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.3335, allocations: 79.77 kB / 434.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.3339, allocations: 283 kB / 434.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3341, allocations: 56.92 kB / 434.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.3343, allocations: 123.4 kB / 434.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3345, allocations: 147.2 kB / 434.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.3346, allocations: 24 kB / 434.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.798e-05/0.3346, allocations: 20 kB / 434.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3347, allocations: 59.7 kB / 434.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.3349, allocations: 139.1 kB / 435 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.3353, allocations: 256.4 kB / 435.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3353, allocations: 0 / 435.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3353, allocations: 0 / 435.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3353, allocations: 4 kB / 435.3 MB, free: 2.68 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.00133/0.3366, allocations: 0.5515 MB / 435.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3367, allocations: 8.031 kB / 435.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.3367, allocations: 46.69 kB / 435.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.3368, allocations: 36.7 kB / 435.9 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.3372, allocations: 266.7 kB / 436.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3372, allocations: 12.22 kB / 436.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.3373, allocations: 16 kB / 436.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.3379, allocations: 377.8 kB / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3379, allocations: 0 / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.338, allocations: 8 kB / 436.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.338, allocations: 4 kB / 436.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.3382, allocations: 93.52 kB / 436.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.339, allocations: 0.4889 MB / 437.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.3397, allocations: 308.2 kB / 437.5 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.3399, allocations: 130.8 kB / 437.6 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.34, allocations: 11.94 kB / 437.6 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.34, allocations: 34.56 kB / 437.6 MB, free: 144 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.944e-06/0.34, allocations: 0 / 437.6 MB, free: 144 kB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002459/0.3425, allocations: 1.189 MB / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.3426, allocations: 139.3 kB / 439 MB, free: 14.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.343, allocations: 332.7 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.343, allocations: 33.7 kB / 439.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3432, allocations: 145.1 kB / 439.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.3432, allocations: 59.64 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.3433, allocations: 66.14 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3435, allocations: 346.8 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3436, allocations: 68.83 kB / 440 MB, free: 13.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.344, allocations: 314.8 kB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.3445, allocations: 424.9 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3445, allocations: 4 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006643/0.3451, allocations: 413.1 kB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3452, allocations: 8 kB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3452, allocations: 8 kB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.3452, allocations: 12 kB / 441.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.3455, allocations: 95.83 kB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.3455, allocations: 16.5 kB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.3457, allocations: 31.88 kB / 441.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.3458, allocations: 24 kB / 441.3 MB, free: 12.11 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.0002096/0.346, allocations: 165.8 kB / 441.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005319/0.3465, allocations: 308.6 kB / 441.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/0.3472, allocations: 375.5 kB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3472, allocations: 4 kB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3472, allocations: 8.062 kB / 442.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3472, allocations: 3.984 kB / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.3476, allocations: 296.4 kB / 442.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3477, allocations: 0 / 442.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.3483, allocations: 127.8 kB / 442.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3483, allocations: 7.938 kB / 442.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.3483, allocations: 8 kB / 442.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.3483, allocations: 0 / 442.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3483, allocations: 4 kB / 442.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3494, allocations: 0.7187 MB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.3495, allocations: 43.72 kB / 443.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.3495, allocations: 12 kB / 443.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.3498, allocations: 15.98 kB / 443.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.3498, allocations: 7.938 kB / 443.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.3499, allocations: 16.05 kB / 443.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003429/0.3502, allocations: 247.1 kB / 443.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3502, allocations: 0 / 443.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.3507, allocations: 60 kB / 443.7 MB, free: 9.629 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.001428/0.3521, allocations: 1.276 MB / 445 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006175/0.3527, allocations: 290.2 kB / 445.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3527, allocations: 3.938 kB / 445.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.3528, allocations: 20 kB / 445.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008252/0.3536, allocations: 204.7 kB / 445.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005153/0.3588, allocations: 3.821 MB / 449.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.3592, allocations: 0.8074 MB / 450.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.3594, allocations: 35.28 kB / 450.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.3596, allocations: 123.4 kB / 450.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3596, allocations: 0 / 450.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03972/0.3993, allocations: 7.59 MB / 457.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.34, allocations: 7.391 kB / 457.9 MB, free: 11.23 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: 15.192195228002674]