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.0009103/0.0009105, allocations: 93.23 kB / 16.3 MB, free: 6.133 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.001124/0.001124, allocations: 179.4 kB / 17.19 MB, free: 6.016 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.262/1.262, allocations: 223.2 MB / 241.1 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002482, allocations: 7.938 kB / 300.7 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09976, allocations: 50.41 MB / 351.1 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002028/0.1018, allocations: 1.703 MB / 352.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009905/0.1028, allocations: 0.5344 MB / 353.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.103, allocations: 4 kB / 353.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.997e-05/0.1031, allocations: 15.8 kB / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1034, allocations: 63.83 kB / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.1036, allocations: 43.88 kB / 353.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.1039, allocations: 159.6 kB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.104, allocations: 40.92 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1042, allocations: 95.53 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1044, allocations: 111.4 kB / 353.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.1045, allocations: 12 kB / 353.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.247e-05/0.1045, allocations: 11.94 kB / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.1046, allocations: 51.78 kB / 354 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1046, allocations: 61.52 kB / 354 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1049, allocations: 163.8 kB / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1049, allocations: 0 / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1049, allocations: 0 / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.1049, allocations: 0 / 354.2 MB, free: 0.957 MB / 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.001194/0.1061, allocations: 0.5683 MB / 354.8 MB, free: 348 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1061, allocations: 8.031 kB / 354.8 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.1063, allocations: 39.58 kB / 354.8 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.1067, allocations: 295.1 kB / 355.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1067, allocations: 8 kB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.1068, allocations: 12 kB / 355.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.107, allocations: 117.6 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.107, allocations: 8 kB / 355.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1071, allocations: 4 kB / 355.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1071, allocations: 4 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1073, allocations: 83.91 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/0.1081, allocations: 0.5235 MB / 355.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.1086, allocations: 186.7 kB / 356 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.1086, allocations: 0 / 356 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1087, allocations: 34.56 kB / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.1087, allocations: 0 / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001571/0.1102, allocations: 0.6691 MB / 356.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1103, allocations: 55.41 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.1107, allocations: 332.5 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1107, allocations: 29.7 kB / 357.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1108, allocations: 164.2 kB / 357.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.1109, allocations: 59.19 kB / 357.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.1109, allocations: 4 kB / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.111, allocations: 346.6 kB / 357.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1112, allocations: 60.34 kB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1113, allocations: 64.72 kB / 357.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1114, allocations: 75.92 kB / 357.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1114, allocations: 0 / 357.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003395/0.1118, allocations: 217.5 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1118, allocations: 4 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1118, allocations: 0 / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.1119, allocations: 4 kB / 358.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.1121, allocations: 55.97 kB / 358.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1122, allocations: 4 kB / 358.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.1123, allocations: 15.98 kB / 358.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1123, allocations: 4 kB / 358.2 MB, free: 12.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1124, allocations: 136.5 kB / 358.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.1125, allocations: 27.62 kB / 358.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.1129, allocations: 228.6 kB / 358.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1129, allocations: 0 / 358.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1129, allocations: 0 / 358.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1129, allocations: 0 / 358.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.1133, allocations: 329.4 kB / 358.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1133, allocations: 0 / 358.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.1136, allocations: 59.89 kB / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1136, allocations: 0 / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1137, allocations: 8 kB / 359 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1137, allocations: 0 / 359 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1137, allocations: 11.98 kB / 359 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.1142, allocations: 396.3 kB / 359.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.1143, allocations: 116.7 kB / 359.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.1144, allocations: 0 / 359.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1146, allocations: 12 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.1146, allocations: 15.97 kB / 359.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1147, allocations: 4 kB / 359.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.1149, allocations: 243.1 kB / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.953e-06/0.1149, allocations: 0 / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1152, allocations: 47.94 kB / 359.8 MB, free: 10.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.1153, allocations: 111.2 kB / 359.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.1157, allocations: 159.9 kB / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1157, allocations: 0 / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1158, allocations: 83.91 kB / 360.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1162, allocations: 40.97 kB / 360.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1175, allocations: 0.8499 MB / 361 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1179, allocations: 0.7677 MB / 361.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.118, allocations: 34.27 kB / 361.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.1181, allocations: 23.44 kB / 361.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1181, allocations: 0 / 361.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of Templates: time 0.006268/0.1243, allocations: 2.397 MB / 364.3 MB, free: 6.512 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","../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