Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,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.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,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.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001193/0.001194, allocations: 191 kB / 18.63 MB, free: 4.508 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.381/1.381, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009946/0.0009948, allocations: 52.02 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1079, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003173/0.1111, allocations: 2.068 MB / 353.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008741/0.112, allocations: 0.5612 MB / 354.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1121, allocations: 4 kB / 354.2 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.1122, allocations: 27.61 kB / 354.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.1125, allocations: 67.48 kB / 354.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.1127, allocations: 55.86 kB / 354.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.113, allocations: 251.2 kB / 354.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1132, allocations: 52.73 kB / 354.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1133, allocations: 115.4 kB / 354.7 MB, free: 500 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1135, allocations: 127.3 kB / 354.8 MB, free: 372 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.1135, allocations: 20 kB / 354.9 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.14e-05/0.1136, allocations: 24 kB / 354.9 MB, free: 328 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1137, allocations: 71.61 kB / 354.9 MB, free: 256 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.1138, allocations: 115.2 kB / 355.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.114, allocations: 235 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.114, allocations: 0 / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.114, allocations: 0 / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1141, allocations: 0 / 355.3 MB, free: 15.91 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001037/0.1151, allocations: 0.5955 MB / 355.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1151, allocations: 11.97 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.1152, allocations: 36.56 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.1156, allocations: 320 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.1156, allocations: 8.125 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.1157, allocations: 12 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.1159, allocations: 125.6 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.068e-06/0.1159, allocations: 0 / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1159, allocations: 7.938 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.116, allocations: 4 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.1161, allocations: 71.95 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.1169, allocations: 0.5274 MB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.1174, allocations: 182.7 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1175, allocations: 56.84 kB / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1175, allocations: 3.938 kB / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.1176, allocations: 38.55 kB / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.1176, allocations: 0 / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001379/0.1189, allocations: 0.6604 MB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.119, allocations: 59.34 kB / 358 MB, free: 12.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.1193, allocations: 328.6 kB / 358.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1194, allocations: 29.7 kB / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.1195, allocations: 164.3 kB / 358.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.1195, allocations: 55.11 kB / 358.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.1196, allocations: 37.7 kB / 358.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1197, allocations: 338.8 kB / 358.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1199, allocations: 63.91 kB / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.12, allocations: 59.97 kB / 359 MB, free: 11.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.1203, allocations: 142.5 kB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1203, allocations: 4 kB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003472/0.1206, allocations: 222.8 kB / 359.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1206, allocations: 4 kB / 359.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1206, allocations: 0 / 359.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1207, allocations: 0 / 359.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.1209, allocations: 55.95 kB / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.121, allocations: 7.938 kB / 359.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1211, allocations: 11.94 kB / 359.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1211, allocations: 8 kB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001139/0.1213, allocations: 133.8 kB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.1213, allocations: 27.62 kB / 359.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004125/0.1217, allocations: 220.6 kB / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1218, allocations: 0 / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1218, allocations: 3.938 kB / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1218, allocations: 8 kB / 359.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.1221, allocations: 321.4 kB / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1221, allocations: 4 kB / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.1225, allocations: 63.89 kB / 360.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1225, allocations: 0 / 360.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1225, allocations: 11.92 kB / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1226, allocations: 0 / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.1226, allocations: 7.922 kB / 360.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.1231, allocations: 391 kB / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.1232, allocations: 96.81 kB / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.1232, allocations: 12 kB / 360.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.1234, allocations: 11.98 kB / 360.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1235, allocations: 15.83 kB / 360.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1235, allocations: 4 kB / 360.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.1238, allocations: 251 kB / 361 MB, free: 9.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1238, allocations: 0 / 361 MB, free: 9.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.124, allocations: 44 kB / 361.1 MB, free: 9.734 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001231/0.1242, allocations: 111.2 kB / 361.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.1245, allocations: 154.5 kB / 361.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1245, allocations: 0 / 361.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1247, allocations: 83.91 kB / 361.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.125, allocations: 37.02 kB / 361.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.1263, allocations: 0.7216 MB / 362.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1267, allocations: 0.7675 MB / 362.9 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.722e-05/0.1268, allocations: 34.28 kB / 363 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.1269, allocations: 27.42 kB / 363 MB, free: 7.746 MB / 302.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1269, allocations: 0 / 363 MB, free: 7.746 MB / 302.1 MB Notification: Performance of Templates: time 0.005933/0.1328, allocations: 2.716 MB / 365.7 MB, free: 5.082 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches