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.001291/0.001291, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001412/0.001412, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.00152/0.00152, allocations: 43.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2114, allocations: 53.36 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003369/0.2148, allocations: 2.01 MB / 434.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.2158, allocations: 0.5419 MB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2159, allocations: 0 / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.216, allocations: 27.67 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.2163, allocations: 71.42 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.2165, allocations: 55.91 kB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.2168, allocations: 263 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2169, allocations: 51.84 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.2171, allocations: 119.4 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.2173, allocations: 127.3 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.2174, allocations: 20 kB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.776e-05/0.2174, allocations: 20 kB / 435.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.2175, allocations: 67.69 kB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.2176, allocations: 95.33 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.2179, allocations: 242.5 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2179, allocations: 0 / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2179, allocations: 0 / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2179, allocations: 4 kB / 436.1 MB, free: 2.996 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.001082/0.219, allocations: 0.5343 MB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.219, allocations: 11.97 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.2191, allocations: 32.75 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.2194, allocations: 250.5 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2195, allocations: 12.12 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.2195, allocations: 15.94 kB / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.2198, allocations: 121.6 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2198, allocations: 0 / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2198, allocations: 4 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2198, allocations: 8 kB / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.22, allocations: 79.95 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007672/0.2208, allocations: 432 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.2213, allocations: 174.7 kB / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.2214, allocations: 64.77 kB / 437.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2214, allocations: 0 / 437.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.2215, allocations: 38.5 kB / 437.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2215, allocations: 0 / 437.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001541/0.223, allocations: 0.5937 MB / 438.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.223, allocations: 51.41 kB / 438.4 MB, free: 460 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.2234, allocations: 332.6 kB / 438.8 MB, free: 120 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2234, allocations: 25.7 kB / 438.8 MB, free: 88 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.2236, allocations: 160.4 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.2236, allocations: 67.38 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.2237, allocations: 37.7 kB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2239, allocations: 334.8 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.224, allocations: 63.91 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.2241, allocations: 75.91 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.2244, allocations: 139.8 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2244, allocations: 0 / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003882/0.2248, allocations: 209.4 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2248, allocations: 4 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2248, allocations: 7.984 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2248, allocations: 4 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.2252, allocations: 55.91 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2252, allocations: 4 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2253, allocations: 15.92 kB / 439.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2253, allocations: 4 kB / 440 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.000124/0.2255, allocations: 133.8 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.2255, allocations: 27.81 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.226, allocations: 220.5 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.226, allocations: 11.92 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.226, allocations: 0 / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.2261, allocations: 43.67 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.2261, allocations: 4 kB / 440.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.2263, allocations: 7.984 kB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.2264, allocations: 11.98 kB / 440.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009521/0.2273, allocations: 336.7 kB / 440.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006451/0.2279, allocations: 469.2 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001526/0.2281, allocations: 72.02 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.2284, allocations: 251 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Backend: time 2.91e-07/0.2284, allocations: 0 / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005063/0.2289, allocations: 171.9 kB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of SimCode: time 0.001282/0.2302, allocations: 1.122 MB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Templates: time 0.007818/0.238, allocations: 3.746 MB / 446.5 MB, free: 8.273 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 -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.283142057000077]