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.001171/0.001171, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001332/0.001332, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8887/0.8887, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 2.144e-06/2.144e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.758e-05, allocations: 3.266 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004255/0.004282, allocations: 2.127 MB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.005688, allocations: 0.5849 MB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.005879, allocations: 7.938 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.006, allocations: 27.61 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.00623, allocations: 83.3 kB / 327.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.006454, allocations: 71.77 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.00671, allocations: 294.7 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.006833, allocations: 56.98 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.007109, allocations: 159.5 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.007247, allocations: 111.5 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.007279, allocations: 20 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.648e-05/0.007305, allocations: 24 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.00736, allocations: 63.69 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/0.007422, allocations: 83.61 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.007663, allocations: 259 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.007668, allocations: 0 / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.00767, allocations: 4 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.007676, allocations: 0 / 328.5 MB, free: 11.93 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.0008232/0.008499, allocations: 0.5437 MB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.008549, allocations: 15.92 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.008592, allocations: 46.73 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.00865, allocations: 40.7 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.008985, allocations: 258 kB / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.008998, allocations: 8.656 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.009033, allocations: 24.31 kB / 329.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.009544, allocations: 382.2 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.009554, allocations: 0 / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.009572, allocations: 4 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.009579, allocations: 4 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.009733, allocations: 87.95 kB / 329.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.01028, allocations: 468.6 kB / 330.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.01074, allocations: 303.9 kB / 330.6 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.01088, allocations: 123.4 kB / 330.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.0109, allocations: 7.984 kB / 330.7 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.01093, allocations: 38.56 kB / 330.8 MB, free: 9.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.264e-06/0.01093, allocations: 7.984 kB / 330.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001638/0.01257, allocations: 1.147 MB / 331.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.01267, allocations: 126.8 kB / 332.1 MB, free: 8.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.01297, allocations: 332.6 kB / 332.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.013, allocations: 37.77 kB / 332.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/0.01308, allocations: 153 kB / 332.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.01312, allocations: 35.67 kB / 332.6 MB, free: 7.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.01317, allocations: 33.7 kB / 332.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.01329, allocations: 342.8 kB / 333 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.01335, allocations: 35.97 kB / 333 MB, free: 7.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.489e-05/0.01344, allocations: 90.84 kB / 333.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.01359, allocations: 138.7 kB / 333.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01359, allocations: 0 / 333.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002334/0.01383, allocations: 181.3 kB / 333.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01384, allocations: 8.156 kB / 333.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.01385, allocations: 8 kB / 333.4 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01386, allocations: 0 / 333.4 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.01394, allocations: 39.91 kB / 333.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.01396, allocations: 4 kB / 333.5 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.01403, allocations: 11.95 kB / 333.5 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.01403, allocations: 4 kB / 333.5 MB, free: 6.562 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.0001244/0.01416, allocations: 145.8 kB / 333.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.01448, allocations: 294.5 kB / 333.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.01489, allocations: 372.7 kB / 334.3 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01489, allocations: 7.938 kB / 334.3 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.0149, allocations: 0 / 334.3 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.0149, allocations: 7.984 kB / 334.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.01515, allocations: 228.7 kB / 334.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01516, allocations: 0 / 334.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.01547, allocations: 127.8 kB / 334.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.01547, allocations: 3.938 kB / 334.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.01549, allocations: 11.98 kB / 334.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.0155, allocations: 7.984 kB / 334.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0155, allocations: 4 kB / 334.7 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.01619, allocations: 0.6876 MB / 335.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.01625, allocations: 43.78 kB / 335.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.01629, allocations: 15.94 kB / 335.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.01641, allocations: 11.98 kB / 335.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.01645, allocations: 11.94 kB / 335.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.01647, allocations: 11.98 kB / 335.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.01666, allocations: 243.1 kB / 335.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01666, allocations: 0 / 335.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000263/0.01692, allocations: 56 kB / 335.7 MB, free: 4.219 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.0009238/0.01784, allocations: 1.257 MB / 337 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.01815, allocations: 187.8 kB / 337.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01815, allocations: 0 / 337.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.01819, allocations: 28.42 kB / 337.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.01875, allocations: 197.4 kB / 337.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.02177, allocations: 3.038 MB / 340.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.02191, allocations: 197.6 kB / 340.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.79e-05/0.02197, allocations: 22.97 kB / 340.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.02212, allocations: 112.5 kB / 340.8 MB, free: 15 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.02212, allocations: 0 / 340.8 MB, free: 15 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.04426, allocations: 7.613 MB / 348.4 MB, free: 7.512 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.785/6.829, allocations: 8.031 kB / 348.4 MB, free: 7.508 MB / 314.7 MB " [Timeout remaining time 653] (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/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_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: 8.653733129613101]