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.001226/0.001226, allocations: 112.7 kB / 17.68 MB, free: 5.473 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.001442/0.001442, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.377/1.377, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 42.86 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1192, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003637/0.1229, allocations: 2.063 MB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009463/0.1238, allocations: 0.5574 MB / 354.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1239, allocations: 4 kB / 354.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.1241, allocations: 23.67 kB / 354.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1244, allocations: 79.39 kB / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1246, allocations: 47.88 kB / 354.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1249, allocations: 271.1 kB / 354.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1251, allocations: 44.73 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1253, allocations: 119.4 kB / 354.7 MB, free: 476 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1255, allocations: 131.3 kB / 354.8 MB, free: 344 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.1255, allocations: 20 kB / 354.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.305e-05/0.1256, allocations: 20 kB / 354.9 MB, free: 304 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.152e-05/0.1257, allocations: 59.69 kB / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1258, allocations: 127.1 kB / 355.1 MB, free: 116 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1261, allocations: 227 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1261, allocations: 0 / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1261, allocations: 0 / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1261, allocations: 0 / 355.3 MB, free: 15.89 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.001118/0.1272, allocations: 0.6071 MB / 355.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1273, allocations: 8.031 kB / 355.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.1274, allocations: 36.5 kB / 355.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.1277, allocations: 300.1 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1278, allocations: 16.12 kB / 356.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.1278, allocations: 12 kB / 356.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1281, allocations: 121.6 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1281, allocations: 0 / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1281, allocations: 11.98 kB / 356.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.1281, allocations: 4 kB / 356.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.1283, allocations: 75.95 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.1292, allocations: 0.5235 MB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.1297, allocations: 182.7 kB / 357.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1298, allocations: 56.84 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1299, allocations: 7.875 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1299, allocations: 30.56 kB / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1299, allocations: 4 kB / 357.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001504/0.1314, allocations: 0.6721 MB / 357.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1315, allocations: 59.41 kB / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.1318, allocations: 332.6 kB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.1319, allocations: 25.7 kB / 358.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.132, allocations: 156.3 kB / 358.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1321, allocations: 63.11 kB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.1322, allocations: 33.7 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1323, allocations: 342.8 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1325, allocations: 67.91 kB / 359 MB, free: 11.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.1327, allocations: 63.97 kB / 359 MB, free: 11.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.1329, allocations: 140.8 kB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1329, allocations: 0 / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003812/0.1333, allocations: 210.7 kB / 359.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1334, allocations: 8 kB / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1334, allocations: 0 / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1334, allocations: 0 / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.1337, allocations: 59.91 kB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1338, allocations: 7.938 kB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1339, allocations: 7.984 kB / 359.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1339, allocations: 8 kB / 359.5 MB, free: 11.41 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.0001206/0.1341, allocations: 129.8 kB / 359.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.1341, allocations: 27.62 kB / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.1346, allocations: 227.4 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1346, allocations: 0 / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1346, allocations: 11.88 kB / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1346, allocations: 0 / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.135, allocations: 325.4 kB / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.135, allocations: 0 / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.1354, allocations: 59.89 kB / 360.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1354, allocations: 0 / 360.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1354, allocations: 8 kB / 360.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1354, allocations: 3.938 kB / 360.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1354, allocations: 3.938 kB / 360.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.136, allocations: 387 kB / 360.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.1361, allocations: 104.9 kB / 360.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.1361, allocations: 8 kB / 360.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.1363, allocations: 4 kB / 360.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1364, allocations: 23.81 kB / 360.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1364, allocations: 4.125 kB / 360.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.1367, allocations: 247.1 kB / 361 MB, free: 9.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.816e-06/0.1367, allocations: 0 / 361 MB, free: 9.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.137, allocations: 47.94 kB / 361.1 MB, free: 9.723 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.0001329/0.1371, allocations: 115.2 kB / 361.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1375, allocations: 151.9 kB / 361.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1375, allocations: 0 / 361.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1377, allocations: 83.91 kB / 361.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1381, allocations: 45 kB / 361.5 MB, free: 9.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1395, allocations: 0.7253 MB / 362.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1399, allocations: 0.7597 MB / 362.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.1401, allocations: 34.27 kB / 363 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.1402, allocations: 19.44 kB / 363 MB, free: 7.734 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1402, allocations: 0 / 363 MB, free: 7.734 MB / 302.1 MB Notification: Performance of Templates: time 0.006267/0.1464, allocations: 2.715 MB / 365.7 MB, free: 5.07 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 gbode -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