Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001186/0.001186, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001473, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 55.44 kB / 306.9 MB, free: 0.6523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09847, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003698/0.1022, allocations: 2.083 MB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1034, allocations: 0.573 MB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.1036, allocations: 0 / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1038, allocations: 27.61 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.1041, allocations: 75.42 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.1043, allocations: 55.91 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.1047, allocations: 251.1 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1049, allocations: 64.69 kB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.1051, allocations: 111.4 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.1053, allocations: 131.3 kB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.1054, allocations: 24 kB / 360.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.804e-05/0.1054, allocations: 20 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.322e-05/0.1055, allocations: 63.69 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1056, allocations: 115.2 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1059, allocations: 231.3 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1059, allocations: 0 / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.1059, allocations: 3.938 kB / 361.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1059, allocations: 3.938 kB / 361.3 MB, free: 10.29 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.001081/0.107, allocations: 0.5994 MB / 361.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1071, allocations: 8.031 kB / 361.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.1071, allocations: 36.56 kB / 361.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1075, allocations: 304.1 kB / 362.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1075, allocations: 16.06 kB / 362.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.1076, allocations: 19.92 kB / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.1078, allocations: 118.7 kB / 362.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1078, allocations: 0 / 362.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1078, allocations: 4 kB / 362.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.1079, allocations: 4 kB / 362.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.1081, allocations: 79.89 kB / 362.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.1089, allocations: 0.5236 MB / 363 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.1094, allocations: 178.7 kB / 363.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1095, allocations: 60.83 kB / 363.2 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1095, allocations: 3.938 kB / 363.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1096, allocations: 38.56 kB / 363.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1096, allocations: 0 / 363.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001448/0.111, allocations: 0.6518 MB / 363.9 MB, free: 7.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1111, allocations: 59.41 kB / 364 MB, free: 7.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.1114, allocations: 340.5 kB / 364.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1115, allocations: 25.7 kB / 364.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.1116, allocations: 160.2 kB / 364.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.1116, allocations: 59.19 kB / 364.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.1117, allocations: 33.7 kB / 364.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1118, allocations: 346.8 kB / 364.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.112, allocations: 63.92 kB / 365 MB, free: 6.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.1122, allocations: 59.97 kB / 365 MB, free: 6.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1126, allocations: 143.8 kB / 365.2 MB, free: 6.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1126, allocations: 3.984 kB / 365.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00041/0.113, allocations: 213.1 kB / 365.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1131, allocations: 8 kB / 365.4 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1131, allocations: 0 / 365.4 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1131, allocations: 3.938 kB / 365.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1134, allocations: 67.95 kB / 365.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1134, allocations: 7.938 kB / 365.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1136, allocations: 4 kB / 365.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1136, allocations: 8 kB / 365.5 MB, free: 5.816 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.0001102/0.1137, allocations: 138.4 kB / 365.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.1138, allocations: 27.62 kB / 365.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.1142, allocations: 223.6 kB / 365.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1142, allocations: 0 / 365.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1142, allocations: 3.938 kB / 365.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1142, allocations: 0 / 365.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.1146, allocations: 329.4 kB / 366.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1146, allocations: 0 / 366.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.115, allocations: 59.89 kB / 366.3 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.115, allocations: 0 / 366.3 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.115, allocations: 11.98 kB / 366.3 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.115, allocations: 0 / 366.3 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.115, allocations: 7.938 kB / 366.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.1157, allocations: 379 kB / 366.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.1157, allocations: 108.8 kB / 366.7 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.1158, allocations: 4 kB / 366.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.116, allocations: 11.98 kB / 366.8 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.1161, allocations: 15.86 kB / 366.8 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1161, allocations: 8 kB / 366.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000337/0.1164, allocations: 251 kB / 367 MB, free: 4.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1164, allocations: 0 / 367 MB, free: 4.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1167, allocations: 44 kB / 367.1 MB, free: 4.133 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.0001105/0.1168, allocations: 103.2 kB / 367.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000356/0.1172, allocations: 163.9 kB / 367.3 MB, free: 3.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1172, allocations: 0 / 367.3 MB, free: 3.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1174, allocations: 91.89 kB / 367.4 MB, free: 3.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1177, allocations: 37.02 kB / 367.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.119, allocations: 0.7126 MB / 368.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1194, allocations: 0.7635 MB / 368.9 MB, free: 2.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1195, allocations: 38.27 kB / 369 MB, free: 2.168 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.1196, allocations: 27.44 kB / 369 MB, free: 2.141 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1196, allocations: 0 / 369 MB, free: 2.141 MB / 302.1 MB Notification: Performance of Templates: time 0.1569/0.2765, allocations: 2.702 MB / 371.7 MB, free: 19.96 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches