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.00126/0.00126, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.001823/0.001823, allocations: 149.9 kB / 24.49 MB, free: 3.727 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.418/1.418, allocations: 173.4 MB / 201.1 MB, free: 12.68 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.001517/0.001517, allocations: 50.48 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1095, allocations: 52.16 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003712/0.1132, allocations: 1.98 MB / 373.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1144, allocations: 0.5262 MB / 374.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1145, allocations: 4 kB / 374.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.1146, allocations: 31.61 kB / 374.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.115, allocations: 79.41 kB / 374.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1152, allocations: 47.88 kB / 374.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.1157, allocations: 259.1 kB / 374.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.1158, allocations: 44.8 kB / 374.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.116, allocations: 111.4 kB / 374.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1162, allocations: 123.3 kB / 374.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.1162, allocations: 24 kB / 374.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.547e-05/0.1163, allocations: 20 kB / 374.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.1164, allocations: 59.7 kB / 374.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1165, allocations: 99.31 kB / 375 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.1168, allocations: 234.8 kB / 375.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1168, allocations: 7.938 kB / 375.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1168, allocations: 0 / 375.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1168, allocations: 0 / 375.2 MB, free: 3.668 MB / 334.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.001202/0.118, allocations: 0.524 MB / 375.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.118, allocations: 20.84 kB / 375.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.006e-05/0.1181, allocations: 36.7 kB / 375.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.1185, allocations: 254.5 kB / 376.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1185, allocations: 12.12 kB / 376.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.1186, allocations: 15.95 kB / 376.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.1188, allocations: 125.5 kB / 376.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1189, allocations: 0 / 376.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1189, allocations: 4 kB / 376.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1189, allocations: 4 kB / 376.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.1191, allocations: 71.97 kB / 376.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.1199, allocations: 432 kB / 376.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.1204, allocations: 182.7 kB / 376.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1205, allocations: 55.72 kB / 376.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1205, allocations: 4 kB / 376.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.1206, allocations: 42.48 kB / 377 MB, free: 1.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.1206, allocations: 0 / 377 MB, free: 1.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001561/0.1221, allocations: 0.5905 MB / 377.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1222, allocations: 55.41 kB / 377.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.1226, allocations: 332.6 kB / 378 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1226, allocations: 29.7 kB / 378 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1228, allocations: 160.4 kB / 378.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.709e-05/0.1228, allocations: 59.44 kB / 378.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.1229, allocations: 41.64 kB / 378.2 MB, free: 484 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1231, allocations: 338.8 kB / 378.6 MB, free: 136 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1232, allocations: 63.91 kB / 378.6 MB, free: 72 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1234, allocations: 63.91 kB / 378.7 MB, free: 8 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.1237, allocations: 147.6 kB / 378.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1237, allocations: 3.938 kB / 378.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004029/0.1241, allocations: 217.4 kB / 379.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1241, allocations: 6.812 kB / 379.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1241, allocations: 0 / 379.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1241, allocations: 0 / 379.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.1245, allocations: 63.89 kB / 379.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1245, allocations: 0 / 379.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.1246, allocations: 11.94 kB / 379.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1246, allocations: 4 kB / 379.1 MB, free: 15.56 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.0001434/0.1248, allocations: 133.8 kB / 379.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.1248, allocations: 35.8 kB / 379.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.1253, allocations: 212.6 kB / 379.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.1253, allocations: 4 kB / 379.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1253, allocations: 0 / 379.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1253, allocations: 3.938 kB / 379.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.1256, allocations: 221.2 kB / 379.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1256, allocations: 3.984 kB / 379.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.126, allocations: 63.89 kB / 379.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.126, allocations: 4 kB / 379.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.1261, allocations: 4 kB / 379.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1261, allocations: 0 / 379.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1261, allocations: 0 / 379.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/0.1267, allocations: 399.1 kB / 380.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.1268, allocations: 27.8 kB / 380.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.1268, allocations: 4.062 kB / 380.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.127, allocations: 8 kB / 380.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.1271, allocations: 11.97 kB / 380.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1271, allocations: 8 kB / 380.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.1274, allocations: 259 kB / 380.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1274, allocations: 0 / 380.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1277, allocations: 40 kB / 380.5 MB, free: 14.08 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.0001307/0.1278, allocations: 107.3 kB / 380.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.1282, allocations: 150.4 kB / 380.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1282, allocations: 3.938 kB / 380.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1283, allocations: 83.89 kB / 380.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1287, allocations: 49.08 kB / 380.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1302, allocations: 0.7342 MB / 381.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.1304, allocations: 159.5 kB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.1305, allocations: 26.28 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.1306, allocations: 32.48 kB / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1306, allocations: 0 / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Templates: time 0.007648/0.1382, allocations: 2.927 MB / 384.8 MB, free: 9.836 MB / 350.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.577798345009796]