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.001838/0.001838, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001984/0.001984, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.674/1.674, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001659/0.001659, allocations: 47.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3113, allocations: 53.36 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004668/0.316, allocations: 2.109 MB / 433.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3174, allocations: 0.5807 MB / 434.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.3176, allocations: 0 / 434.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.3177, allocations: 23.67 kB / 434.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.318, allocations: 75.42 kB / 434.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.3182, allocations: 63.84 kB / 434.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.3186, allocations: 259.1 kB / 434.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.3188, allocations: 44.88 kB / 434.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.319, allocations: 115.4 kB / 434.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.3193, allocations: 135.3 kB / 435 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.3193, allocations: 20 kB / 435.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.3194, allocations: 20 kB / 435.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3195, allocations: 59.64 kB / 435.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.3197, allocations: 131.1 kB / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.32, allocations: 240 kB / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3201, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3201, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3201, allocations: 0 / 435.5 MB, free: 3.055 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.001255/0.3213, allocations: 0.5318 MB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3214, allocations: 8.031 kB / 436 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.3214, allocations: 36.69 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.3219, allocations: 250.5 kB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3219, allocations: 12.12 kB / 436.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.3219, allocations: 16 kB / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.3222, allocations: 133.4 kB / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3222, allocations: 0 / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3222, allocations: 0 / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3222, allocations: 4 kB / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.3224, allocations: 79.95 kB / 436.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.3233, allocations: 0.4954 MB / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.3239, allocations: 174.7 kB / 437.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.324, allocations: 64.83 kB / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.324, allocations: 3.938 kB / 437.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3241, allocations: 38.56 kB / 437.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.3241, allocations: 0 / 437.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00166/0.3257, allocations: 0.5906 MB / 437.9 MB, free: 492 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3258, allocations: 51.41 kB / 438 MB, free: 428 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.3262, allocations: 332.6 kB / 438.3 MB, free: 88 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.3262, allocations: 29.7 kB / 438.3 MB, free: 52 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3264, allocations: 160.3 kB / 438.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/0.3265, allocations: 67.45 kB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.3265, allocations: 37.7 kB / 438.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3267, allocations: 338.8 kB / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3269, allocations: 67.84 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.327, allocations: 59.97 kB / 439 MB, free: 15.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.3273, allocations: 142.7 kB / 439.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3273, allocations: 0 / 439.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004167/0.3277, allocations: 209.4 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3277, allocations: 11.98 kB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3277, allocations: 0 / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3278, allocations: 4 kB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3281, allocations: 63.84 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3281, allocations: 3.938 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.3282, allocations: 7.984 kB / 439.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3283, allocations: 8 kB / 439.5 MB, free: 14.86 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.0001451/0.3284, allocations: 129.8 kB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.3285, allocations: 35.81 kB / 439.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.3289, allocations: 219.5 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3289, allocations: 4 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.329, allocations: 7.875 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.329, allocations: 0 / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.3294, allocations: 296.5 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3294, allocations: 0 / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.3298, allocations: 59.89 kB / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3298, allocations: 8 kB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3298, allocations: 4 kB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3298, allocations: 4 kB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3298, allocations: 3.938 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.3304, allocations: 383.1 kB / 440.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.3305, allocations: 35.84 kB / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.3305, allocations: 12.12 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3307, allocations: 4 kB / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.3308, allocations: 19.91 kB / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.3308, allocations: 4 kB / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.3311, allocations: 251 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3311, allocations: 0 / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.3314, allocations: 44 kB / 441 MB, free: 13.29 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.0001494/0.3316, allocations: 103.2 kB / 441.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003936/0.332, allocations: 154.1 kB / 441.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.332, allocations: 0 / 441.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.3321, allocations: 78.88 kB / 441.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3326, allocations: 44.47 kB / 441.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3341, allocations: 0.7182 MB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.3345, allocations: 0.7597 MB / 442.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.3346, allocations: 38.2 kB / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3347, allocations: 27.42 kB / 442.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3347, allocations: 0 / 442.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Templates: time 0.008329/0.3431, allocations: 2.889 MB / 445.8 MB, free: 8.492 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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: 5.2557161680888385]