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.001834/0.001834, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002301/0.002301, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.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.001552/0.001552, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2259, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003427/0.2294, allocations: 2.006 MB / 434.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2304, allocations: 0.5457 MB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2305, allocations: 0 / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.2306, allocations: 27.67 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.2309, allocations: 71.42 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.2311, allocations: 55.86 kB / 435.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.2314, allocations: 263.1 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.2316, allocations: 44.56 kB / 435.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.2318, allocations: 127.4 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.232, allocations: 127.3 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.232, allocations: 20 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.578e-05/0.232, allocations: 20 kB / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.2321, allocations: 63.7 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.2322, allocations: 99.31 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.2325, allocations: 241.8 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2325, allocations: 0 / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2325, allocations: 0 / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2325, allocations: 0 / 436 MB, free: 3.008 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.001111/0.2336, allocations: 0.5357 MB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2337, allocations: 8.031 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.2337, allocations: 36.73 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.2341, allocations: 246.5 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.2341, allocations: 12.12 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.2342, allocations: 12 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.2345, allocations: 129.5 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2345, allocations: 0 / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.2345, allocations: 4 kB / 437 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.2345, allocations: 8 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.2347, allocations: 75.97 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008357/0.2355, allocations: 432 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.2361, allocations: 178.7 kB / 437.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.2362, allocations: 56.84 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2362, allocations: 3.938 kB / 437.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.2363, allocations: 38.5 kB / 437.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.2363, allocations: 0 / 437.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001608/0.2379, allocations: 0.6001 MB / 438.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.2379, allocations: 51.41 kB / 438.4 MB, free: 468 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.2383, allocations: 328.6 kB / 438.8 MB, free: 132 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.2384, allocations: 33.7 kB / 438.8 MB, free: 92 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.2385, allocations: 160.4 kB / 438.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.2386, allocations: 59.48 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.2387, allocations: 41.64 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2388, allocations: 338.8 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.239, allocations: 59.97 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2391, allocations: 67.91 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.2394, allocations: 143.6 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2394, allocations: 4 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003914/0.2398, allocations: 209.4 kB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2398, allocations: 4 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2398, allocations: 8 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2398, allocations: 0 / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.2401, allocations: 55.91 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2401, allocations: 11.97 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.2403, allocations: 11.94 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2403, allocations: 7.984 kB / 439.9 MB, free: 14.9 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.0001393/0.2405, allocations: 133.8 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.2405, allocations: 31.8 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.241, allocations: 220.5 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.241, allocations: 0 / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.241, allocations: 3.938 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.241, allocations: 3.938 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.2413, allocations: 233 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2413, allocations: 0 / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.2417, allocations: 63.89 kB / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2417, allocations: 4 kB / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.2418, allocations: 4 kB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.2418, allocations: 4 kB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2418, allocations: 0 / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.2424, allocations: 391.2 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.2425, allocations: 27.8 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.2425, allocations: 12.06 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2427, allocations: 8 kB / 441.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2428, allocations: 11.97 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.2428, allocations: 4 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.2431, allocations: 258.9 kB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2431, allocations: 3.938 kB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.2434, allocations: 44 kB / 441.4 MB, free: 13.41 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.0001205/0.2435, allocations: 99.25 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.2439, allocations: 147.9 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2439, allocations: 0 / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.2441, allocations: 83.91 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2444, allocations: 33.08 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2459, allocations: 0.7212 MB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.2461, allocations: 155.5 kB / 442.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.2462, allocations: 30.28 kB / 442.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2463, allocations: 31.42 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2463, allocations: 0 / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Templates: time 0.007822/0.2541, allocations: 3.208 MB / 445.9 MB, free: 8.91 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 gbode -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.3403838249942055]