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.001813/0.001813, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002248/0.002248, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.002413/0.002413, allocations: 51.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2706, allocations: 53.38 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003587/0.2742, allocations: 2.125 MB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2754, allocations: 0.5849 MB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2756, allocations: 0 / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.2757, allocations: 27.61 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.276, allocations: 79.41 kB / 433.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.2762, allocations: 75.8 kB / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.2765, allocations: 279.1 kB / 434.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2767, allocations: 48.88 kB / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.2769, allocations: 131.3 kB / 434.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.2771, allocations: 127.3 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.2771, allocations: 27.94 kB / 434.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.919e-05/0.2772, allocations: 20 kB / 434.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.2772, allocations: 67.69 kB / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.2774, allocations: 107.3 kB / 434.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.2777, allocations: 260.4 kB / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2777, allocations: 0 / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.2777, allocations: 3.984 kB / 435 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2777, allocations: 0 / 435 MB, free: 2.676 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.001075/0.2787, allocations: 0.5554 MB / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2788, allocations: 11.97 kB / 435.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.2788, allocations: 42.75 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.2789, allocations: 40.69 kB / 435.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.2793, allocations: 258.7 kB / 435.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2793, allocations: 16.22 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.2793, allocations: 12 kB / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.28, allocations: 381.8 kB / 436.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.28, allocations: 0 / 436.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.28, allocations: 8 kB / 436.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.28, allocations: 4 kB / 436.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.2803, allocations: 91.89 kB / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.2809, allocations: 468.8 kB / 436.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.2816, allocations: 303.6 kB / 437.2 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.2818, allocations: 126.7 kB / 437.3 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2819, allocations: 4 kB / 437.3 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.2819, allocations: 38.56 kB / 437.3 MB, free: 180 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.2819, allocations: 0 / 437.3 MB, free: 180 kB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002272/0.2842, allocations: 1.153 MB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.2843, allocations: 138.7 kB / 438.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.2847, allocations: 328.6 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.2847, allocations: 33.7 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2848, allocations: 149 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.2849, allocations: 56.48 kB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.2849, allocations: 66.14 kB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2851, allocations: 346.8 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.2852, allocations: 68.83 kB / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.2855, allocations: 300.7 kB / 440 MB, free: 13.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.286, allocations: 399.2 kB / 440.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.286, allocations: 7.938 kB / 440.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006264/0.2866, allocations: 401.4 kB / 440.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.2867, allocations: 8 kB / 440.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2867, allocations: 8 kB / 440.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.2867, allocations: 12 kB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.287, allocations: 87.84 kB / 440.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.287, allocations: 19.92 kB / 440.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.2872, allocations: 23.95 kB / 440.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.2873, allocations: 20 kB / 440.9 MB, free: 12.26 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.0001858/0.2874, allocations: 173.8 kB / 441.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004876/0.2879, allocations: 293.9 kB / 441.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006637/0.2886, allocations: 376.5 kB / 441.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2886, allocations: 4 kB / 441.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2886, allocations: 0 / 441.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2886, allocations: 3.984 kB / 441.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.289, allocations: 236.8 kB / 442 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.289, allocations: 0 / 442 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.2895, allocations: 123.9 kB / 442.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.2896, allocations: 3.984 kB / 442.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.2896, allocations: 15.98 kB / 442.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2896, allocations: 4 kB / 442.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2896, allocations: 0 / 442.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.2906, allocations: 0.6989 MB / 442.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.2907, allocations: 35.78 kB / 442.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.2907, allocations: 16 kB / 442.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.291, allocations: 11.98 kB / 442.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.291, allocations: 4.062 kB / 442.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.291, allocations: 15.98 kB / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.2913, allocations: 243.1 kB / 443.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2913, allocations: 4 kB / 443.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000436/0.2917, allocations: 60 kB / 443.2 MB, free: 9.879 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.001293/0.293, allocations: 1.256 MB / 444.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005271/0.2936, allocations: 284.5 kB / 444.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2936, allocations: 1.938 kB / 444.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.2936, allocations: 24 kB / 444.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.2944, allocations: 188.6 kB / 445 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.2992, allocations: 3.769 MB / 448.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2995, allocations: 201.6 kB / 448.9 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.2996, allocations: 35.27 kB / 449 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.2998, allocations: 111.4 kB / 449.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2998, allocations: 4 kB / 449.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.3371, allocations: 7.797 MB / 456.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.5, allocations: 2.984 kB / 456.9 MB, free: 12.03 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: 14.225199738983065]