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.0009154/0.0009155, allocations: 95.77 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008855/0.0008855, allocations: 206.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002495, allocations: 8 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1096, allocations: 51.5 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002037/0.1116, allocations: 1.716 MB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.1125, allocations: 0.5422 MB / 360.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.19e-05/0.1126, allocations: 4 kB / 360.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.757e-05/0.1127, allocations: 19.8 kB / 360.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.1129, allocations: 63.75 kB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1131, allocations: 39.95 kB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1133, allocations: 159.6 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1134, allocations: 52.88 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1136, allocations: 87.56 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1137, allocations: 119.4 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.1138, allocations: 12 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.604e-05/0.1138, allocations: 12 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.1139, allocations: 47.75 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.1139, allocations: 57.58 kB / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1141, allocations: 163.8 kB / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1141, allocations: 0 / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1141, allocations: 0 / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1141, allocations: 0 / 361.2 MB, free: 10.82 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.0008351/0.1149, allocations: 0.5683 MB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.115, allocations: 12.03 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.115, allocations: 31.62 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1154, allocations: 299 kB / 362.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1154, allocations: 8 kB / 362.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.1154, allocations: 15.98 kB / 362.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1156, allocations: 126.6 kB / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1156, allocations: 0 / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1157, allocations: 4 kB / 362.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1157, allocations: 4 kB / 362.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1159, allocations: 83.89 kB / 362.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.1166, allocations: 0.5313 MB / 362.8 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.117, allocations: 178.7 kB / 363 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.117, allocations: 0 / 363 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.1171, allocations: 38.56 kB / 363 MB, free: 8.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.1171, allocations: 3.938 kB / 363.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001302/0.1184, allocations: 0.673 MB / 363.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.1184, allocations: 51.41 kB / 363.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.1188, allocations: 332.6 kB / 364.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1188, allocations: 25.7 kB / 364.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.1189, allocations: 160.2 kB / 364.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.1189, allocations: 59.19 kB / 364.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.119, allocations: 8 kB / 364.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1191, allocations: 338.8 kB / 364.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1192, allocations: 60.34 kB / 364.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1193, allocations: 68.66 kB / 364.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1195, allocations: 68.92 kB / 364.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1195, allocations: 0 / 364.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003605/0.1199, allocations: 213.6 kB / 365.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1199, allocations: 4 kB / 365.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1199, allocations: 4 kB / 365.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1199, allocations: 3.953 kB / 365.1 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.1202, allocations: 63.89 kB / 365.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1202, allocations: 4 kB / 365.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.1204, allocations: 4 kB / 365.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.1204, allocations: 15.98 kB / 365.2 MB, free: 6.535 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.0001216/0.1205, allocations: 128.2 kB / 365.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.1206, allocations: 27.62 kB / 365.3 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.121, allocations: 224.5 kB / 365.5 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1211, allocations: 3.953 kB / 365.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1211, allocations: 0 / 365.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1211, allocations: 7.984 kB / 365.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.1215, allocations: 321.5 kB / 365.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.1215, allocations: 0 / 365.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.1218, allocations: 59.89 kB / 365.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1218, allocations: 0 / 365.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.1219, allocations: 11.98 kB / 365.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1219, allocations: 0 / 365.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1219, allocations: 3.953 kB / 365.9 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.1225, allocations: 397.4 kB / 366.3 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.1225, allocations: 108.8 kB / 366.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.1226, allocations: 3.984 kB / 366.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1228, allocations: 8 kB / 366.5 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.1228, allocations: 11.98 kB / 366.5 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1229, allocations: 19.94 kB / 366.5 MB, free: 5.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.1231, allocations: 239.1 kB / 366.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1231, allocations: 0 / 366.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1234, allocations: 47.94 kB / 366.8 MB, free: 4.852 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.0001143/0.1235, allocations: 107.2 kB / 366.9 MB, free: 4.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.1238, allocations: 154.9 kB / 367 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1238, allocations: 4 kB / 367 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.124, allocations: 87.89 kB / 367.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1242, allocations: 28.34 kB / 367.1 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1255, allocations: 0.8502 MB / 368 MB, free: 3.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.1258, allocations: 0.7716 MB / 368.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.1259, allocations: 30.28 kB / 368.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.126, allocations: 27.42 kB / 368.8 MB, free: 2.742 MB / 302.1 MB Notification: Performance of SimCode: time 1.533e-06/0.126, allocations: 3.938 kB / 368.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of Templates: time 0.005638/0.1317, allocations: 2.402 MB / 371.2 MB, free: 392 kB / 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches