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.001847/0.001847, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002209/0.002209, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.412/1.412, allocations: 230.4 MB / 254 MB, free: 15.21 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.001824/0.001824, allocations: 59.89 kB / 373 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.1001, allocations: 53.38 MB / 426.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003528/0.1036, allocations: 2.236 MB / 428.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1048, allocations: 0.6315 MB / 429.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1049, allocations: 0 / 429.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.105, allocations: 27.61 kB / 429.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1052, allocations: 71.42 kB / 429.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1055, allocations: 83.83 kB / 429.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1058, allocations: 275 kB / 429.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.106, allocations: 56.72 kB / 429.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.1062, allocations: 119.4 kB / 429.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.1064, allocations: 147.2 kB / 430 MB, free: 1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.1064, allocations: 24 kB / 430 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.1064, allocations: 24 kB / 430 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.1065, allocations: 59.7 kB / 430.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1066, allocations: 127.1 kB / 430.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.107, allocations: 262.7 kB / 430.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.107, allocations: 4 kB / 430.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.107, allocations: 3.938 kB / 430.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.107, allocations: 0 / 430.5 MB, free: 0.5039 MB / 350.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.001106/0.1081, allocations: 0.619 MB / 431.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1081, allocations: 8.031 kB / 431.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.1082, allocations: 50.67 kB / 431.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.1082, allocations: 36.7 kB / 431.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.1086, allocations: 316.6 kB / 431.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1086, allocations: 20.16 kB / 431.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1087, allocations: 20 kB / 431.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.1093, allocations: 373.6 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1093, allocations: 0 / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1093, allocations: 4 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1093, allocations: 4 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.1096, allocations: 87.89 kB / 432 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006941/0.1102, allocations: 0.5172 MB / 432.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.1109, allocations: 311.6 kB / 432.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.1112, allocations: 133.1 kB / 432.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.1112, allocations: 7.984 kB / 433 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1112, allocations: 38.56 kB / 433 MB, free: 13.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.403e-06/0.1112, allocations: 0 / 433 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002371/0.1136, allocations: 1.337 MB / 434.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.1137, allocations: 142.8 kB / 434.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.1141, allocations: 324.6 kB / 434.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.1141, allocations: 41.62 kB / 434.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1142, allocations: 141.1 kB / 435 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.1143, allocations: 51.67 kB / 435 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/0.1144, allocations: 70.06 kB / 435.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1145, allocations: 346.8 kB / 435.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1147, allocations: 72.83 kB / 435.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.115, allocations: 314.8 kB / 435.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.1155, allocations: 420.9 kB / 436.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.1155, allocations: 4 kB / 436.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006414/0.1161, allocations: 408.9 kB / 436.6 MB, free: 9.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1162, allocations: 12 kB / 436.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.1162, allocations: 12 kB / 436.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.1162, allocations: 16.75 kB / 436.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.1165, allocations: 99.83 kB / 436.8 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.1165, allocations: 15.94 kB / 436.8 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1167, allocations: 27.88 kB / 436.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1167, allocations: 24 kB / 436.8 MB, free: 9.547 MB / 366.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.0001739/0.1169, allocations: 165.6 kB / 437 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.1174, allocations: 296.9 kB / 437.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.1181, allocations: 375.5 kB / 437.6 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.1181, allocations: 12 kB / 437.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1181, allocations: 0 / 437.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.1181, allocations: 3.984 kB / 437.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.1185, allocations: 317.3 kB / 438 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1185, allocations: 4 kB / 438 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.1191, allocations: 127.8 kB / 438.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.1191, allocations: 4 kB / 438.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.1191, allocations: 4 kB / 438.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.1191, allocations: 4 kB / 438.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1191, allocations: 4 kB / 438.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1201, allocations: 0.7189 MB / 438.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.1202, allocations: 112.8 kB / 438.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.1203, allocations: 12 kB / 438.9 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.1205, allocations: 24.05 kB / 439 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1206, allocations: 3.938 kB / 439 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.1206, allocations: 12 kB / 439 MB, free: 7.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.1209, allocations: 247 kB / 439.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1209, allocations: 0 / 439.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.1213, allocations: 64 kB / 439.3 MB, free: 6.961 MB / 366.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.001337/0.1226, allocations: 1.279 MB / 440.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.1231, allocations: 296.6 kB / 440.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1231, allocations: 0 / 440.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.1232, allocations: 23.98 kB / 440.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/0.124, allocations: 201.8 kB / 441.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.1286, allocations: 3.826 MB / 444.9 MB, free: 1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.129, allocations: 0.8112 MB / 445.7 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.476e-05/0.1291, allocations: 35.28 kB / 445.7 MB, free: 132 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.1293, allocations: 115.4 kB / 445.9 MB, free: 16 kB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1293, allocations: 0 / 445.9 MB, free: 16 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/0.3373, allocations: 7.166 MB / 453 MB, free: 23.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.532, allocations: 7.922 kB / 453 MB, free: 23.95 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.138433250947855]