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.00079/0.00079, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003164/0.003164, allocations: 140.8 kB / 24.68 MB, free: 8.895 MB / 18.57 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 0.8471/0.8471, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 2.936e-06/2.936e-06, allocations: 0 / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.487e-05/3.78e-05, allocations: 2.281 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00289/0.002928, allocations: 1.965 MB / 321.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009225/0.00385, allocations: 0.5223 MB / 322.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.003984, allocations: 3.938 kB / 322.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.004136, allocations: 23.67 kB / 322.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.004464, allocations: 87.34 kB / 322.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.004685, allocations: 55.92 kB / 322.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.004975, allocations: 275 kB / 322.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.005137, allocations: 48.8 kB / 322.7 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.005351, allocations: 147.4 kB / 322.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.005504, allocations: 99.61 kB / 322.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.00555, allocations: 20 kB / 322.9 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.705e-05/0.005577, allocations: 20 kB / 323 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.005669, allocations: 67.67 kB / 323 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.005746, allocations: 79.62 kB / 323.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.006024, allocations: 231.1 kB / 323.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.006031, allocations: 0 / 323.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.006033, allocations: 0 / 323.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.00604, allocations: 0 / 323.3 MB, free: 2.18 MB / 282.7 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.0009475/0.006987, allocations: 0.5317 MB / 323.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.007039, allocations: 8.922 kB / 323.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.007104, allocations: 36.75 kB / 323.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.007431, allocations: 241.8 kB / 324.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.007444, allocations: 16.31 kB / 324.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.007475, allocations: 16.33 kB / 324.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.007665, allocations: 130.3 kB / 324.3 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.007674, allocations: 3.984 kB / 324.3 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.007686, allocations: 4 kB / 324.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.007691, allocations: 0 / 324.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.007822, allocations: 79.95 kB / 324.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007374/0.008559, allocations: 444 kB / 324.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.008886, allocations: 166.7 kB / 325 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.008974, allocations: 60.83 kB / 325 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.008993, allocations: 4 kB / 325 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.00901, allocations: 30.56 kB / 325.1 MB, free: 332 kB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.009011, allocations: 0 / 325.1 MB, free: 332 kB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001014/0.01003, allocations: 0.6011 MB / 325.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.01006, allocations: 51.41 kB / 325.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.0103, allocations: 336.6 kB / 326.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.01032, allocations: 25.7 kB / 326.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.01039, allocations: 156.4 kB / 326.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.01044, allocations: 71.41 kB / 326.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.01048, allocations: 37.7 kB / 326.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.01057, allocations: 338.8 kB / 326.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.01066, allocations: 67.91 kB / 326.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.01073, allocations: 62.97 kB / 326.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.0109, allocations: 144.8 kB / 326.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.0109, allocations: 3.938 kB / 326.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002216/0.01113, allocations: 212.6 kB / 327.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.01114, allocations: 8 kB / 327.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.01115, allocations: 0 / 327.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.01117, allocations: 3.984 kB / 327.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.01132, allocations: 59.91 kB / 327.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01133, allocations: 4 kB / 327.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.0114, allocations: 7.984 kB / 327.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.01141, allocations: 8 kB / 327.2 MB, free: 14.07 MB / 298.7 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 8.458e-05/0.01149, allocations: 133.7 kB / 327.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.01152, allocations: 31.81 kB / 327.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.01178, allocations: 224.5 kB / 327.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.01178, allocations: 3.984 kB / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01179, allocations: 4 kB / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01179, allocations: 0 / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.01198, allocations: 225.2 kB / 327.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.01198, allocations: 0 / 327.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.01217, allocations: 63.89 kB / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01217, allocations: 0 / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.01219, allocations: 15.98 kB / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01219, allocations: 0 / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01219, allocations: 0 / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.01255, allocations: 393.9 kB / 328.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.01259, allocations: 27.8 kB / 328.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01262, allocations: 12.05 kB / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.0127, allocations: 8 kB / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.01274, allocations: 11.97 kB / 328.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01275, allocations: 7.984 kB / 328.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.0129, allocations: 251.1 kB / 328.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0129, allocations: 0 / 328.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.01309, allocations: 44 kB / 328.7 MB, free: 12.58 MB / 298.7 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.0001017/0.01319, allocations: 111.2 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.01341, allocations: 147.8 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01341, allocations: 0 / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.0135, allocations: 83.81 kB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.01376, allocations: 45.02 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008413/0.01461, allocations: 0.6525 MB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.503e-05/0.0147, allocations: 159.5 kB / 329.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.01477, allocations: 28.48 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01477, allocations: 0 / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of Templates: time 0.003652/0.01843, allocations: 3.246 MB / 333.1 MB, free: 8.066 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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.027416760101914]