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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009226, allocations: 92.75 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 184.2 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002651, allocations: 8.125 kB / 301.4 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1123, allocations: 50.41 MB / 351.8 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002709/0.1151, allocations: 1.89 MB / 353.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1164, allocations: 0.5849 MB / 354.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.1166, allocations: 4 kB / 354.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.1168, allocations: 19.78 kB / 354.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.1172, allocations: 55.62 kB / 354.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.1175, allocations: 67.81 kB / 354.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.1179, allocations: 267 kB / 354.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1181, allocations: 64.95 kB / 354.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1183, allocations: 95.44 kB / 354.9 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1185, allocations: 131.2 kB / 355 MB, free: 280 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.1186, allocations: 8 kB / 355 MB, free: 272 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.284e-05/0.1186, allocations: 12 kB / 355 MB, free: 260 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.1187, allocations: 47.69 kB / 355.1 MB, free: 212 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1189, allocations: 140.8 kB / 355.2 MB, free: 64 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.1191, allocations: 235.2 kB / 355.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1192, allocations: 4 kB / 355.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1192, allocations: 4 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1192, allocations: 0 / 355.4 MB, free: 15.82 MB / 302.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.001096/0.1203, allocations: 0.5764 MB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1203, allocations: 12.03 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.1204, allocations: 40.41 kB / 356.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.1209, allocations: 304.5 kB / 356.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1209, allocations: 20.34 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.121, allocations: 15.91 kB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.1217, allocations: 378.8 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1217, allocations: 0 / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.1217, allocations: 12 kB / 356.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.1217, allocations: 4 kB / 356.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.122, allocations: 95.89 kB / 356.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.1228, allocations: 0.5287 MB / 357.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.1235, allocations: 315.6 kB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.1238, allocations: 147.1 kB / 357.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1238, allocations: 4 kB / 357.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1238, allocations: 42.56 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.462e-06/0.1238, allocations: 0.6562 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002502/0.1263, allocations: 1.328 MB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.1265, allocations: 142.6 kB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.1269, allocations: 328.6 kB / 359.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.1269, allocations: 29.7 kB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.127, allocations: 141.1 kB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.1271, allocations: 51.52 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.1272, allocations: 37.73 kB / 359.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1273, allocations: 350.8 kB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1275, allocations: 76.83 kB / 360.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.1279, allocations: 318.7 kB / 360.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/0.1285, allocations: 421 kB / 361.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.1285, allocations: 3.938 kB / 361.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008223/0.1293, allocations: 417 kB / 361.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.1293, allocations: 8 kB / 361.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.1294, allocations: 12 kB / 361.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.1294, allocations: 8 kB / 361.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.1297, allocations: 103.8 kB / 361.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.1297, allocations: 15.94 kB / 361.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.13, allocations: 36.3 kB / 361.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.13, allocations: 24 kB / 361.7 MB, free: 8.961 MB / 302.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.0002113/0.1303, allocations: 165.6 kB / 361.9 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005376/0.1308, allocations: 297.1 kB / 362.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/0.1315, allocations: 371.5 kB / 362.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.1316, allocations: 8 kB / 362.5 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.1316, allocations: 4 kB / 362.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.1316, allocations: 3.984 kB / 362.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.1321, allocations: 337.2 kB / 362.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.1321, allocations: 0 / 362.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.1327, allocations: 127.8 kB / 363 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.1327, allocations: 4 kB / 363 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.1327, allocations: 8 kB / 363 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1328, allocations: 0 / 363 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1328, allocations: 4 kB / 363 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.1338, allocations: 0.7187 MB / 363.7 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.1339, allocations: 112.8 kB / 363.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.134, allocations: 15.98 kB / 363.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.1343, allocations: 16.06 kB / 363.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1343, allocations: 11.92 kB / 363.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.1344, allocations: 15.94 kB / 363.9 MB, free: 6.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.1346, allocations: 243 kB / 364.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1346, allocations: 0 / 364.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.1351, allocations: 64 kB / 364.2 MB, free: 6.363 MB / 302.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.0001352/0.1352, allocations: 118.6 kB / 364.3 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.1358, allocations: 297.8 kB / 364.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1359, allocations: 0 / 364.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.1359, allocations: 39.98 kB / 364.6 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/0.1368, allocations: 212.7 kB / 364.8 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1385, allocations: 0.903 MB / 365.7 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.139, allocations: 0.8073 MB / 366.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.1391, allocations: 35.28 kB / 366.6 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1392, allocations: 31.42 kB / 366.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1392, allocations: 4 kB / 366.6 MB, free: 3.863 MB / 302.1 MB Notification: Performance of Templates: time 0.007919/0.1471, allocations: 3.232 MB / 369.8 MB, free: 0.6367 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches