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.001874/0.001874, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002367/0.002367, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.492/1.492, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.002095/0.002095, allocations: 71.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2636, allocations: 53.4 MB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003381/0.2669, allocations: 2.141 MB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2681, allocations: 0.581 MB / 433.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2682, allocations: 4 kB / 433.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2683, allocations: 27.61 kB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.2685, allocations: 79.41 kB / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.2688, allocations: 71.84 kB / 434 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.2691, allocations: 279 kB / 434.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2692, allocations: 44.94 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.2695, allocations: 127.4 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.2697, allocations: 139.2 kB / 434.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.2697, allocations: 24 kB / 434.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.042e-05/0.2698, allocations: 20 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.2699, allocations: 59.7 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.27, allocations: 107.3 kB / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.2703, allocations: 268.3 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2703, allocations: 3.984 kB / 435.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2703, allocations: 0 / 435.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2703, allocations: 0 / 435.1 MB, free: 2.504 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.001179/0.2715, allocations: 0.5476 MB / 435.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.2716, allocations: 11.98 kB / 435.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.865e-05/0.2716, allocations: 54.67 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.2717, allocations: 40.7 kB / 435.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.2721, allocations: 258.7 kB / 436 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2721, allocations: 16.22 kB / 436 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.2722, allocations: 12 kB / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.2728, allocations: 386 kB / 436.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2729, allocations: 0 / 436.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.2729, allocations: 8 kB / 436.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2729, allocations: 3.938 kB / 436.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.2731, allocations: 95.89 kB / 436.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.2738, allocations: 456.8 kB / 436.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.2745, allocations: 310.7 kB / 437.2 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.2747, allocations: 134.2 kB / 437.4 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.2747, allocations: 4 kB / 437.4 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.2748, allocations: 38.56 kB / 437.4 MB, free: 16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.794e-06/0.2748, allocations: 0 / 437.4 MB, free: 16 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.002248/0.277, allocations: 1.149 MB / 438.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.2772, allocations: 138.7 kB / 438.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.2776, allocations: 328.6 kB / 439 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.2776, allocations: 29.7 kB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2777, allocations: 153 kB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.2778, allocations: 47.72 kB / 439.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.2779, allocations: 66.14 kB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.278, allocations: 350.9 kB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.2782, allocations: 68.83 kB / 439.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.2785, allocations: 300 kB / 440 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.279, allocations: 395.2 kB / 440.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.279, allocations: 4 kB / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006301/0.2796, allocations: 397.5 kB / 440.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2797, allocations: 8.188 kB / 440.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2797, allocations: 12 kB / 440.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.2797, allocations: 12.19 kB / 440.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.28, allocations: 87.84 kB / 440.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.28, allocations: 19.92 kB / 440.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.2802, allocations: 19.95 kB / 441 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.2802, allocations: 24 kB / 441 MB, free: 12.1 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.0001831/0.2804, allocations: 179 kB / 441.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.2809, allocations: 293.8 kB / 441.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007352/0.2816, allocations: 376.5 kB / 441.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.2816, allocations: 4 kB / 441.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2816, allocations: 0 / 441.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2817, allocations: 3.984 kB / 441.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.282, allocations: 244.5 kB / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.282, allocations: 0 / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.2826, allocations: 123.9 kB / 442.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2826, allocations: 3.938 kB / 442.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.2826, allocations: 11.98 kB / 442.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2826, allocations: 8 kB / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2826, allocations: 0 / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2837, allocations: 0.699 MB / 442.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.2837, allocations: 35.78 kB / 442.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.2838, allocations: 16 kB / 442.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.284, allocations: 11.98 kB / 443 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.2841, allocations: 0 / 443 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.2841, allocations: 15.98 kB / 443 MB, free: 10 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.2844, allocations: 243.1 kB / 443.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2844, allocations: 8.062 kB / 443.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.2848, allocations: 60 kB / 443.3 MB, free: 9.703 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.001308/0.2861, allocations: 1.249 MB / 444.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005111/0.2866, allocations: 288.4 kB / 444.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2866, allocations: 0 / 444.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.2867, allocations: 24 kB / 444.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.2874, allocations: 187.2 kB / 445 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.2922, allocations: 3.767 MB / 448.8 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.2924, allocations: 197.6 kB / 449 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.2925, allocations: 35.27 kB / 449 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.2926, allocations: 115.4 kB / 449.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2926, allocations: 0 / 449.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.3295, allocations: 7.797 MB / 456.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.32, allocations: 3.375 kB / 456.9 MB, free: 11.83 MB / 366.1 MB " [Timeout remaining time 649] (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: 14.071365702431649]