Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002052/0.002052, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.616/1.616, allocations: 227.7 MB / 247.7 MB, free: 10.35 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 60.5 kB / 307.9 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1203, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003798/0.1241, allocations: 2.216 MB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1254, allocations: 0.616 MB / 361.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1256, allocations: 0 / 361.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1257, allocations: 27.61 kB / 361.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.126, allocations: 75.41 kB / 361.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1263, allocations: 71.23 kB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.1266, allocations: 283 kB / 361.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1268, allocations: 76.78 kB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.1271, allocations: 123.4 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1273, allocations: 139.2 kB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.1274, allocations: 20 kB / 362.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.1274, allocations: 24 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.1275, allocations: 67.62 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1276, allocations: 131.1 kB / 362.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1279, allocations: 251.2 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1279, allocations: 0 / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1279, allocations: 0 / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.128, allocations: 4 kB / 362.5 MB, free: 9.809 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.001224/0.1292, allocations: 0.6191 MB / 363.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1292, allocations: 8.031 kB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.1293, allocations: 36.47 kB / 363.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.1297, allocations: 308.4 kB / 363.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1298, allocations: 20.41 kB / 363.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.1298, allocations: 15.91 kB / 363.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.1305, allocations: 371.4 kB / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1305, allocations: 0 / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.1305, allocations: 8 kB / 363.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1305, allocations: 0 / 363.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.1308, allocations: 95.89 kB / 364 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.1316, allocations: 0.5441 MB / 364.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.1323, allocations: 304.4 kB / 364.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.1326, allocations: 146.8 kB / 365 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1326, allocations: 7.938 kB / 365 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1327, allocations: 42.5 kB / 365 MB, free: 7.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.1327, allocations: 0 / 365 MB, free: 7.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002493/0.1352, allocations: 1.327 MB / 366.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.1353, allocations: 134.5 kB / 366.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.1357, allocations: 332.7 kB / 366.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.1358, allocations: 33.7 kB / 366.8 MB, free: 5.152 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1359, allocations: 145.1 kB / 367 MB, free: 5.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.1359, allocations: 47.53 kB / 367 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.136, allocations: 66.14 kB / 367.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1362, allocations: 346.8 kB / 367.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1364, allocations: 72.83 kB / 367.5 MB, free: 4.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.1367, allocations: 314.8 kB / 367.8 MB, free: 4.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.1372, allocations: 420.9 kB / 368.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1372, allocations: 3.938 kB / 368.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000659/0.1379, allocations: 412.9 kB / 368.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1379, allocations: 8 kB / 368.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.1379, allocations: 11.98 kB / 368.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.138, allocations: 12.19 kB / 368.7 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.1382, allocations: 91.84 kB / 368.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.1383, allocations: 20.48 kB / 368.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1385, allocations: 27.84 kB / 368.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.1386, allocations: 24 kB / 368.8 MB, free: 2.906 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.000205/0.1388, allocations: 177.6 kB / 369 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/0.1393, allocations: 288.9 kB / 369.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/0.14, allocations: 375.2 kB / 369.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.14, allocations: 4 kB / 369.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1401, allocations: 4 kB / 369.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.1401, allocations: 7.984 kB / 369.7 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1405, allocations: 329.1 kB / 370 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1405, allocations: 0 / 370 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.1411, allocations: 127.8 kB / 370.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1411, allocations: 3.938 kB / 370.1 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1412, allocations: 11.98 kB / 370.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1412, allocations: 0 / 370.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1412, allocations: 4.062 kB / 370.1 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1422, allocations: 0.7225 MB / 370.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1424, allocations: 108.8 kB / 370.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.1424, allocations: 12 kB / 371 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.1427, allocations: 15.98 kB / 371 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.1427, allocations: 4 kB / 371 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.1428, allocations: 20.05 kB / 371 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002725/0.143, allocations: 243.1 kB / 371.2 MB, free: 388 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1431, allocations: 0 / 371.2 MB, free: 388 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.1435, allocations: 64 kB / 371.3 MB, free: 324 kB / 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.0001631/0.1437, allocations: 103.2 kB / 371.4 MB, free: 212 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1606/0.3043, allocations: 333.8 kB / 371.7 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3044, allocations: 1.031 kB / 371.7 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.3045, allocations: 27.02 kB / 371.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3056, allocations: 217.8 kB / 372 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.3072, allocations: 0.7699 MB / 372.7 MB, free: 19.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3075, allocations: 0.8051 MB / 373.5 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3076, allocations: 34.92 kB / 373.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3076, allocations: 0 / 373.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of Templates: time 0.009495/0.3171, allocations: 3.915 MB / 377.5 MB, free: 18.86 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/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_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches