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.0008365/0.0008368, allocations: 94.59 kB / 16.65 MB, free: 6.602 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.001033/0.001034, allocations: 172.7 kB / 17.56 MB, free: 6.203 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.372/1.372, allocations: 223.3 MB / 241.6 MB, free: 120 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003052, allocations: 11.94 kB / 301.4 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1113, allocations: 50.42 MB / 351.8 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002683/0.114, allocations: 1.765 MB / 353.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1151, allocations: 0.5535 MB / 354.2 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1153, allocations: 0 / 354.2 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.1154, allocations: 15.8 kB / 354.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.1158, allocations: 55.62 kB / 354.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.116, allocations: 51.94 kB / 354.3 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.1163, allocations: 247 kB / 354.5 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.1165, allocations: 52.72 kB / 354.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1166, allocations: 87.45 kB / 354.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1168, allocations: 123.2 kB / 354.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.1169, allocations: 12 kB / 354.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.1169, allocations: 12 kB / 354.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.117, allocations: 55.67 kB / 354.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1171, allocations: 128.9 kB / 355 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1173, allocations: 215.3 kB / 355.2 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1173, allocations: 0 / 355.2 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1173, allocations: 0 / 355.2 MB, free: 304 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1174, allocations: 0 / 355.2 MB, free: 304 kB / 286.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.001017/0.1184, allocations: 0.5606 MB / 355.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1184, allocations: 12.03 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.1185, allocations: 32.56 kB / 355.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1189, allocations: 316 kB / 356.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1189, allocations: 12.12 kB / 356.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.119, allocations: 15.98 kB / 356.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.1193, allocations: 121.6 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1193, allocations: 0 / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.1193, allocations: 8 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1193, allocations: 0 / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.1195, allocations: 87.95 kB / 356.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009065/0.1205, allocations: 0.5235 MB / 356.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.121, allocations: 178.7 kB / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1211, allocations: 64.83 kB / 357.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1212, allocations: 8.188 kB / 357.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1212, allocations: 30.56 kB / 357.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.1212, allocations: 0 / 357.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001469/0.1227, allocations: 0.6689 MB / 357.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.1227, allocations: 55.41 kB / 357.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.1231, allocations: 332.6 kB / 358.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.1231, allocations: 29.64 kB / 358.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1233, allocations: 164.3 kB / 358.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.1234, allocations: 63.09 kB / 358.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1234, allocations: 21.72 kB / 358.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1235, allocations: 338.8 kB / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1237, allocations: 63.92 kB / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1238, allocations: 67.16 kB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1241, allocations: 148.8 kB / 359.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1241, allocations: 0 / 359.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003829/0.1245, allocations: 218.7 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1245, allocations: 4 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1246, allocations: 0 / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1246, allocations: 0 / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.1249, allocations: 67.89 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1249, allocations: 3.938 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1251, allocations: 8 kB / 359.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1251, allocations: 4 kB / 359.4 MB, free: 11.84 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.0001224/0.1252, allocations: 141.7 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.1253, allocations: 27.62 kB / 359.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.1257, allocations: 224.6 kB / 359.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1257, allocations: 4 kB / 359.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1257, allocations: 3.938 kB / 359.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1258, allocations: 4 kB / 359.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.1261, allocations: 321.4 kB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1261, allocations: 0 / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.1265, allocations: 67.89 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1265, allocations: 0 / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1265, allocations: 7.984 kB / 360.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.1266, allocations: 11.98 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1266, allocations: 3.938 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.1272, allocations: 392.9 kB / 360.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.1273, allocations: 100.7 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.1273, allocations: 8.062 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1275, allocations: 15.98 kB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.1276, allocations: 11.92 kB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1276, allocations: 7.938 kB / 360.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.1279, allocations: 255 kB / 360.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1279, allocations: 0 / 360.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1282, allocations: 40 kB / 361 MB, free: 10.13 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.0001497/0.1283, allocations: 107.1 kB / 361.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.1287, allocations: 163.9 kB / 361.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1287, allocations: 0 / 361.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.1289, allocations: 90.72 kB / 361.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1293, allocations: 39.77 kB / 361.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1307, allocations: 0.8812 MB / 362.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1311, allocations: 0.7638 MB / 363 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1312, allocations: 34.27 kB / 363.1 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.1313, allocations: 27.42 kB / 363.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1313, allocations: 0 / 363.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of Templates: time 0.005684/0.137, allocations: 2.476 MB / 365.6 MB, free: 5.543 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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