Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 193.3 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 47.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2444, allocations: 52.17 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003902/0.2483, allocations: 2.128 MB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2495, allocations: 0.5577 MB / 425.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2496, allocations: 7.938 kB / 425.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.2498, allocations: 27.61 kB / 425.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.25, allocations: 79.42 kB / 425.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2503, allocations: 71.83 kB / 425.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.2507, allocations: 279 kB / 425.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.2508, allocations: 47.52 kB / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.251, allocations: 119.4 kB / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2512, allocations: 135.2 kB / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.2513, allocations: 24 kB / 426 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.547e-05/0.2513, allocations: 24 kB / 426 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.156e-05/0.2514, allocations: 63.7 kB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2515, allocations: 103.3 kB / 426.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.2519, allocations: 272.3 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2519, allocations: 0 / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2519, allocations: 0 / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2519, allocations: 0 / 426.5 MB, free: 10.45 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.001175/0.2531, allocations: 0.5515 MB / 427 MB, free: 9.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2531, allocations: 8.031 kB / 427 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.2532, allocations: 54.73 kB / 427.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.2532, allocations: 28.75 kB / 427.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.2537, allocations: 262.7 kB / 427.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2537, allocations: 20.22 kB / 427.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.2537, allocations: 15.94 kB / 427.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.2544, allocations: 371 kB / 427.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2544, allocations: 0 / 427.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2544, allocations: 12 kB / 427.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.2545, allocations: 4 kB / 427.8 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.2547, allocations: 91.94 kB / 427.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.2554, allocations: 464.7 kB / 428.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007061/0.2561, allocations: 303.9 kB / 428.6 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.2564, allocations: 142 kB / 428.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.2564, allocations: 7.859 kB / 428.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.2564, allocations: 38.55 kB / 428.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.773e-06/0.2564, allocations: 0 / 428.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002329/0.2588, allocations: 1.142 MB / 430 MB, free: 6.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.2589, allocations: 139.5 kB / 430.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.2593, allocations: 332.5 kB / 430.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.2593, allocations: 33.7 kB / 430.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2594, allocations: 145 kB / 430.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.2595, allocations: 55.67 kB / 430.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.2596, allocations: 62.14 kB / 430.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2597, allocations: 346.8 kB / 431 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2599, allocations: 72.83 kB / 431.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.2602, allocations: 307.8 kB / 431.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.2607, allocations: 391.2 kB / 431.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2607, allocations: 8 kB / 431.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007042/0.2614, allocations: 392.8 kB / 432.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2614, allocations: 8 kB / 432.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.2614, allocations: 9.562 kB / 432.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.2615, allocations: 12 kB / 432.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.2617, allocations: 99.83 kB / 432.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.2617, allocations: 11.94 kB / 432.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.262, allocations: 19.95 kB / 432.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.262, allocations: 27.98 kB / 432.4 MB, free: 4.043 MB / 334.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.0002079/0.2622, allocations: 173.5 kB / 432.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.2627, allocations: 293 kB / 432.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.2633, allocations: 369 kB / 433.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.2633, allocations: 4 kB / 433.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2634, allocations: 4 kB / 433.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2634, allocations: 4 kB / 433.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.2637, allocations: 236.6 kB / 433.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2637, allocations: 0 / 433.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.2643, allocations: 123.8 kB / 433.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2643, allocations: 0 / 433.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.2643, allocations: 8 kB / 433.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.2643, allocations: 4 kB / 433.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2643, allocations: 0 / 433.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2653, allocations: 0.7074 MB / 434.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.2654, allocations: 39.78 kB / 434.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.2655, allocations: 19.97 kB / 434.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.2657, allocations: 8 kB / 434.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.2658, allocations: 7.984 kB / 434.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.2658, allocations: 15.94 kB / 434.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002842/0.2661, allocations: 243.1 kB / 434.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2661, allocations: 0 / 434.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004527/0.2665, allocations: 60 kB / 434.7 MB, free: 1.664 MB / 334.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.00139/0.2679, allocations: 1.268 MB / 435.9 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.2685, allocations: 282.3 kB / 436.2 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2685, allocations: 0 / 436.2 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.2686, allocations: 27.98 kB / 436.2 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/0.2693, allocations: 191.4 kB / 436.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/0.2743, allocations: 3.758 MB / 440.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.2745, allocations: 201.6 kB / 440.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.2747, allocations: 39.27 kB / 440.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.2749, allocations: 115.4 kB / 440.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2749, allocations: 0 / 440.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.3136, allocations: 7.806 MB / 448.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.64, allocations: 4.062 kB / 448.3 MB, free: 3.797 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable filter.x[1] from file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable filter.x[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable filter.x[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable filter.x[3] in file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable filter.x[3] from file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable invMixingUnit.c in file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable invMixingUnit.c from file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv failed! Error: Could not read variable invMixingUnit.T in file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.csv. Warning: Get data of variable invMixingUnit.T from file Modelica_4.0.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.327606508973986]