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.001081/0.001081, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001667/0.001667, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9138/0.9138, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 2.284e-06/2.284e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.852e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003671/0.003699, allocations: 2.132 MB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004887, allocations: 0.5809 MB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.005053, allocations: 8 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.005181, allocations: 27.61 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.005494, allocations: 83.34 kB / 327.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.005798, allocations: 79.34 kB / 327.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.006168, allocations: 294.7 kB / 327.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.006344, allocations: 56.92 kB / 327.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.006687, allocations: 159.5 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.006875, allocations: 111.6 kB / 328.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.00692, allocations: 24 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.553e-05/0.006956, allocations: 24 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.013e-05/0.007036, allocations: 63.62 kB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/0.007126, allocations: 79.69 kB / 328.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.007444, allocations: 258.9 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.007448, allocations: 0 / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007449, allocations: 0 / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.007455, allocations: 0 / 328.5 MB, free: 11.96 MB / 298.7 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.001038/0.008493, allocations: 0.5437 MB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.008538, allocations: 12.03 kB / 329.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.008594, allocations: 54.67 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.008659, allocations: 36.7 kB / 329.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.009127, allocations: 262 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.009143, allocations: 8.656 kB / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.009183, allocations: 16.38 kB / 329.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.009886, allocations: 382.9 kB / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.009898, allocations: 0 / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.009918, allocations: 7.984 kB / 329.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.009927, allocations: 4 kB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.01016, allocations: 87.89 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.01087, allocations: 468.6 kB / 330.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.01133, allocations: 302.4 kB / 330.7 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.01146, allocations: 126.6 kB / 330.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.01149, allocations: 7.984 kB / 330.8 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.01151, allocations: 50.42 kB / 330.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.01151, allocations: 0 / 330.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001515/0.01303, allocations: 1.146 MB / 332 MB, free: 8.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.01311, allocations: 134.8 kB / 332.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.01336, allocations: 328.6 kB / 332.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01338, allocations: 33.7 kB / 332.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.01345, allocations: 149 kB / 332.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.01348, allocations: 35.73 kB / 332.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.01352, allocations: 33.7 kB / 332.7 MB, free: 7.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.01361, allocations: 338.9 kB / 333 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.01367, allocations: 43.97 kB / 333.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.01374, allocations: 91.5 kB / 333.2 MB, free: 7.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.01387, allocations: 126.7 kB / 333.3 MB, free: 6.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01387, allocations: 8 kB / 333.3 MB, free: 6.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001918/0.01406, allocations: 185.3 kB / 333.5 MB, free: 6.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.01407, allocations: 7.938 kB / 333.5 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01408, allocations: 0 / 333.5 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01409, allocations: 7.938 kB / 333.5 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.01417, allocations: 35.92 kB / 333.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01418, allocations: 8.203 kB / 333.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.01425, allocations: 15.95 kB / 333.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.01426, allocations: 4.062 kB / 333.5 MB, free: 6.594 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001101/0.01437, allocations: 141.8 kB / 333.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.01467, allocations: 294.7 kB / 334 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.01511, allocations: 372.7 kB / 334.3 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01511, allocations: 4 kB / 334.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01512, allocations: 0 / 334.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.01512, allocations: 7.984 kB / 334.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.01536, allocations: 232.6 kB / 334.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01536, allocations: 0 / 334.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.01567, allocations: 123.8 kB / 334.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.01567, allocations: 3.938 kB / 334.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.01569, allocations: 12 kB / 334.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.0157, allocations: 7.984 kB / 334.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.0157, allocations: 0 / 334.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.01632, allocations: 0.6912 MB / 335.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.01637, allocations: 39.78 kB / 335.4 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.0164, allocations: 24 kB / 335.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.01653, allocations: 11.98 kB / 335.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01656, allocations: 4 kB / 335.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.01658, allocations: 15.98 kB / 335.5 MB, free: 4.547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.01675, allocations: 243.1 kB / 335.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01675, allocations: 3.938 kB / 335.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.01698, allocations: 48 kB / 335.8 MB, free: 4.262 MB / 298.7 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.0008323/0.01782, allocations: 1.253 MB / 337 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.01807, allocations: 188.5 kB / 337.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01807, allocations: 0 / 337.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.01811, allocations: 27.98 kB / 337.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.01863, allocations: 189.4 kB / 337.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.02117, allocations: 3.042 MB / 340.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.02129, allocations: 201.6 kB / 340.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.02135, allocations: 34.91 kB / 340.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.02148, allocations: 108.5 kB / 340.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02148, allocations: 0 / 340.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.04334, allocations: 7.608 MB / 348.4 MB, free: 7.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.179, allocations: 9.844 kB / 348.4 MB, free: 7.566 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins/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: 9.030211393721402]