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.0008734/0.0008734, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008526/0.0008526, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8629/0.8629, allocations: 177 MB / 204.1 MB, free: 5.734 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 1.403e-06/1.403e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.124e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002447/0.002469, allocations: 2.134 MB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009126/0.003381, allocations: 0.5849 MB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.003517, allocations: 7.938 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.003633, allocations: 27.61 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.003892, allocations: 87.28 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.004131, allocations: 67.78 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.004408, allocations: 294.7 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.004538, allocations: 56.98 kB / 327.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.004794, allocations: 155.5 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.004929, allocations: 115.5 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.004966, allocations: 20 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.004999, allocations: 24 kB / 328.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.005077, allocations: 67.62 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.005159, allocations: 83.61 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.005418, allocations: 259 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005421, allocations: 4 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005423, allocations: 0 / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.005428, allocations: 0 / 328.5 MB, free: 11.91 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.000754/0.006182, allocations: 0.5437 MB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.006222, allocations: 11.98 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.006264, allocations: 54.67 kB / 329.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.006315, allocations: 36.7 kB / 329.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.006606, allocations: 250 kB / 329.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.00662, allocations: 16.59 kB / 329.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.006651, allocations: 16.38 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.007115, allocations: 382.2 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.00713, allocations: 3.984 kB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.007144, allocations: 4 kB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.00715, allocations: 4 kB / 329.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.007289, allocations: 91.89 kB / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.007791, allocations: 468.6 kB / 330.3 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.008236, allocations: 307.1 kB / 330.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.008373, allocations: 127.4 kB / 330.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.008399, allocations: 8 kB / 330.7 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.008417, allocations: 34.56 kB / 330.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/0.008419, allocations: 4 kB / 330.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001499/0.009918, allocations: 1.143 MB / 331.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.009999, allocations: 134.8 kB / 332.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.01025, allocations: 332.6 kB / 332.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.01027, allocations: 33.7 kB / 332.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.01034, allocations: 153 kB / 332.6 MB, free: 7.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.01037, allocations: 31.73 kB / 332.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.01041, allocations: 41.64 kB / 332.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.01049, allocations: 338.8 kB / 333 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.01055, allocations: 35.97 kB / 333 MB, free: 7.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.01062, allocations: 94.83 kB / 333.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.01074, allocations: 134.7 kB / 333.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01074, allocations: 4 kB / 333.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000203/0.01095, allocations: 181.3 kB / 333.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01096, allocations: 12.16 kB / 333.4 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01097, allocations: 7.938 kB / 333.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01098, allocations: 0 / 333.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.01107, allocations: 35.97 kB / 333.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01108, allocations: 4 kB / 333.5 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.01118, allocations: 11.95 kB / 333.5 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.0112, allocations: 7.984 kB / 333.5 MB, free: 6.539 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.0001278/0.01133, allocations: 149.8 kB / 333.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.01162, allocations: 290.5 kB / 333.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.01202, allocations: 372.7 kB / 334.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.01202, allocations: 4 kB / 334.3 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01202, allocations: 0 / 334.3 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.01203, allocations: 7.984 kB / 334.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.01225, allocations: 232.6 kB / 334.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01226, allocations: 0 / 334.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.01255, allocations: 123.8 kB / 334.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.01255, allocations: 3.938 kB / 334.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01257, allocations: 11.98 kB / 334.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01257, allocations: 8 kB / 334.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.01258, allocations: 0 / 334.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.0132, allocations: 0.6915 MB / 335.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.01324, allocations: 35.78 kB / 335.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.01328, allocations: 20.12 kB / 335.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.01339, allocations: 19.92 kB / 335.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.01343, allocations: 7.984 kB / 335.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.01344, allocations: 11.98 kB / 335.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.0136, allocations: 247.1 kB / 335.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.0136, allocations: 4.062 kB / 335.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.01383, allocations: 44 kB / 335.7 MB, free: 4.203 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.0008303/0.01466, allocations: 1.261 MB / 337 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.01492, allocations: 187.8 kB / 337.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01492, allocations: 448 / 337.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.593e-05/0.01497, allocations: 31.92 kB / 337.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.01549, allocations: 193.4 kB / 337.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.01804, allocations: 3.038 MB / 340.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.01817, allocations: 197.6 kB / 340.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.925e-05/0.01823, allocations: 22.97 kB / 340.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.01836, allocations: 112.5 kB / 340.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01836, allocations: 0 / 340.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.03954, allocations: 7.617 MB / 348.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/6.927, allocations: 7.156 kB / 348.4 MB, free: 7.484 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit_fmu --startTime=0 --stopTime=300 --stepSize=0.0545355 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.611392257735133]