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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 47.92 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1127, allocations: 52.13 MB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003668/0.1164, allocations: 2.092 MB / 421.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1175, allocations: 0.5573 MB / 421.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1176, allocations: 0 / 421.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1177, allocations: 31.61 kB / 421.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.118, allocations: 79.42 kB / 421.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.1182, allocations: 55.86 kB / 421.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.1185, allocations: 259.1 kB / 422 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1187, allocations: 32.73 kB / 422.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.1189, allocations: 111.4 kB / 422.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1191, allocations: 135.3 kB / 422.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.1191, allocations: 20 kB / 422.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.8e-05/0.1191, allocations: 20 kB / 422.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1193, allocations: 71.62 kB / 422.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1194, allocations: 115.2 kB / 422.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.1197, allocations: 245.6 kB / 422.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1197, allocations: 0 / 422.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1197, allocations: 0 / 422.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1197, allocations: 0 / 422.8 MB, free: 8.301 MB / 350.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.001195/0.1209, allocations: 0.6032 MB / 423.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1209, allocations: 12.03 kB / 423.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.121, allocations: 32.7 kB / 423.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.1214, allocations: 312.3 kB / 423.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1214, allocations: 12.12 kB / 423.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.1215, allocations: 15.95 kB / 423.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.1217, allocations: 130.2 kB / 423.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1217, allocations: 4 kB / 423.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1218, allocations: 0 / 423.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1218, allocations: 0 / 423.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.122, allocations: 79.95 kB / 424 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.1228, allocations: 0.5237 MB / 424.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.1234, allocations: 178.7 kB / 424.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.1235, allocations: 61.08 kB / 424.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1235, allocations: 3.938 kB / 424.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1236, allocations: 38.56 kB / 424.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.1236, allocations: 0 / 424.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001645/0.1252, allocations: 0.6538 MB / 425.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1253, allocations: 59.34 kB / 425.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.1256, allocations: 332.6 kB / 425.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1257, allocations: 29.69 kB / 425.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1258, allocations: 160.3 kB / 426 MB, free: 4.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.1259, allocations: 67.44 kB / 426 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/0.126, allocations: 33.7 kB / 426.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1262, allocations: 346.7 kB / 426.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1263, allocations: 63.92 kB / 426.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1264, allocations: 63.91 kB / 426.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.1267, allocations: 147.6 kB / 426.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1267, allocations: 0 / 426.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003982/0.1271, allocations: 217.3 kB / 426.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1271, allocations: 8 kB / 426.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1271, allocations: 0 / 426.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1272, allocations: 0 / 426.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.1275, allocations: 59.95 kB / 427 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.1275, allocations: 7.938 kB / 427 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1276, allocations: 4 kB / 427 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1276, allocations: 4 kB / 427 MB, free: 3.816 MB / 350.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.000137/0.1278, allocations: 137.8 kB / 427.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.1278, allocations: 31.81 kB / 427.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.1283, allocations: 219.2 kB / 427.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1283, allocations: 0 / 427.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1283, allocations: 3.938 kB / 427.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1283, allocations: 0 / 427.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.1287, allocations: 329.4 kB / 427.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1287, allocations: 4 kB / 427.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.1291, allocations: 63.89 kB / 427.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1291, allocations: 0 / 427.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.1291, allocations: 11.98 kB / 427.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1291, allocations: 0 / 427.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1291, allocations: 3.938 kB / 427.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.1298, allocations: 387.1 kB / 428.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.1299, allocations: 113 kB / 428.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.1299, allocations: 11.94 kB / 428.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.1301, allocations: 7.984 kB / 428.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.1301, allocations: 15.92 kB / 428.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1302, allocations: 4 kB / 428.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.1304, allocations: 247 kB / 428.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1304, allocations: 0 / 428.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1307, allocations: 44 kB / 428.6 MB, free: 2.113 MB / 350.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.0001475/0.1309, allocations: 111.2 kB / 428.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.1313, allocations: 149.2 kB / 428.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1313, allocations: 3.938 kB / 428.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1314, allocations: 83.84 kB / 428.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1318, allocations: 33.08 kB / 428.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.1333, allocations: 0.7624 MB / 429.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1337, allocations: 0.7712 MB / 430.5 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1338, allocations: 23.44 kB / 430.5 MB, free: 124 kB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1338, allocations: 0 / 430.5 MB, free: 124 kB / 350.1 MB Notification: Performance of Templates: time 0.005925/0.1397, allocations: 3.12 MB / 433.6 MB, free: 13.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.013832146069035]