Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 69.88 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 163.2 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 55.5 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09522, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00325/0.09847, allocations: 1.997 MB / 380.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.09951, allocations: 0.5417 MB / 381.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.09962, allocations: 4 kB / 381.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.09974, allocations: 27.67 kB / 381.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1, allocations: 79.39 kB / 381.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.1002, allocations: 47.94 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.1005, allocations: 263.1 kB / 381.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1007, allocations: 44.84 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1009, allocations: 119.4 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1011, allocations: 123.2 kB / 382.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.1011, allocations: 24 kB / 382.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.863e-05/0.1012, allocations: 20 kB / 382.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.1013, allocations: 67.62 kB / 382.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.639e-05/0.1013, allocations: 91.39 kB / 382.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1016, allocations: 242.8 kB / 382.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1016, allocations: 3.938 kB / 382.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1016, allocations: 0 / 382.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1016, allocations: 0 / 382.6 MB, free: 11.96 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.001032/0.1027, allocations: 0.5318 MB / 383.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1027, allocations: 8.031 kB / 383.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.1028, allocations: 36.75 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.1032, allocations: 258.4 kB / 383.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1032, allocations: 12.12 kB / 383.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.1032, allocations: 12 kB / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.1035, allocations: 126.2 kB / 383.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1035, allocations: 0 / 383.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1035, allocations: 4 kB / 383.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1035, allocations: 4 kB / 383.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.1037, allocations: 75.91 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.1045, allocations: 440 kB / 384.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.105, allocations: 174.8 kB / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.1051, allocations: 56.84 kB / 384.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1051, allocations: 0 / 384.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1052, allocations: 42.44 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1052, allocations: 0 / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001467/0.1066, allocations: 0.5904 MB / 384.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1067, allocations: 55.41 kB / 385 MB, free: 9.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.1071, allocations: 332.6 kB / 385.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1071, allocations: 29.7 kB / 385.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1072, allocations: 164.3 kB / 385.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.1073, allocations: 59.48 kB / 385.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.1073, allocations: 37.7 kB / 385.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1075, allocations: 334.8 kB / 385.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1076, allocations: 59.97 kB / 386 MB, free: 8.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1078, allocations: 66.91 kB / 386.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.1081, allocations: 148.8 kB / 386.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1081, allocations: 7.938 kB / 386.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003841/0.1084, allocations: 216.4 kB / 386.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1085, allocations: 6.969 kB / 386.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1085, allocations: 0 / 386.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1085, allocations: 4 kB / 386.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.1088, allocations: 59.84 kB / 386.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.1088, allocations: 0 / 386.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1089, allocations: 15.92 kB / 386.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1089, allocations: 4 kB / 386.5 MB, free: 7.855 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.000124/0.1091, allocations: 133.8 kB / 386.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.1091, allocations: 27.81 kB / 386.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.1096, allocations: 224.5 kB / 386.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1096, allocations: 4 kB / 386.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1096, allocations: 0 / 386.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1096, allocations: 7.922 kB / 386.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.1099, allocations: 225.2 kB / 387.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1099, allocations: 0 / 387.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.1103, allocations: 63.95 kB / 387.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1103, allocations: 0 / 387.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1103, allocations: 8 kB / 387.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1103, allocations: 0 / 387.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1103, allocations: 0 / 387.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.1109, allocations: 395.2 kB / 387.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.111, allocations: 31.78 kB / 387.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.111, allocations: 8.062 kB / 387.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.1112, allocations: 8 kB / 387.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.1112, allocations: 11.97 kB / 387.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1112, allocations: 8 kB / 387.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.1115, allocations: 259 kB / 387.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1115, allocations: 0 / 387.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1118, allocations: 40 kB / 387.9 MB, free: 6.363 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.0001175/0.1119, allocations: 111.2 kB / 388 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003358/0.1123, allocations: 142.9 kB / 388.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1123, allocations: 0 / 388.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1124, allocations: 83.91 kB / 388.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1128, allocations: 41.08 kB / 388.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1141, allocations: 0.7137 MB / 389 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.1143, allocations: 159.5 kB / 389.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1144, allocations: 34.22 kB / 389.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.1145, allocations: 28.48 kB / 389.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1145, allocations: 0 / 389.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of Templates: time 0.00718/0.1217, allocations: 2.932 MB / 392.2 MB, free: 2.137 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.443801116081886]