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.001285/0.001285, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001488/0.001488, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001808/0.001808, allocations: 47.92 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2862, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003466/0.2897, allocations: 2.003 MB / 433.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2909, allocations: 0.5419 MB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.291, allocations: 0 / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.2911, allocations: 23.67 kB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.2914, allocations: 79.41 kB / 434.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.2917, allocations: 47.92 kB / 434.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.292, allocations: 267 kB / 434.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.2922, allocations: 43.42 kB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.2924, allocations: 119.4 kB / 434.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.2926, allocations: 127.2 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.2927, allocations: 20 kB / 434.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.2927, allocations: 23.94 kB / 434.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.2928, allocations: 51.77 kB / 434.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.2929, allocations: 111.2 kB / 435 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.2933, allocations: 238.5 kB / 435.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2933, allocations: 0 / 435.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2933, allocations: 0 / 435.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2933, allocations: 0 / 435.3 MB, free: 3.039 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.001106/0.2944, allocations: 0.5318 MB / 435.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2944, allocations: 8.031 kB / 435.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.2945, allocations: 32.75 kB / 435.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.2949, allocations: 254.4 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.2949, allocations: 12.12 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.2949, allocations: 12 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.2952, allocations: 125.6 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2952, allocations: 0 / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2952, allocations: 3.984 kB / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2952, allocations: 4 kB / 436.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.2954, allocations: 75.97 kB / 436.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007874/0.2962, allocations: 436 kB / 436.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.2967, allocations: 177.9 kB / 436.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.2968, allocations: 64.84 kB / 437 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.2968, allocations: 0 / 437 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.2969, allocations: 34.5 kB / 437 MB, free: 1.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.2969, allocations: 4 kB / 437 MB, free: 1.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00157/0.2984, allocations: 0.5936 MB / 437.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.2985, allocations: 55.41 kB / 437.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.2988, allocations: 332.6 kB / 438 MB, free: 164 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.2989, allocations: 25.7 kB / 438 MB, free: 132 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.299, allocations: 168.3 kB / 438.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.2991, allocations: 63.48 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.2991, allocations: 33.7 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.2993, allocations: 334.8 kB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.2995, allocations: 67.91 kB / 438.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.2996, allocations: 67.91 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.2999, allocations: 143.6 kB / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2999, allocations: 0 / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003713/0.3002, allocations: 213.4 kB / 439.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3002, allocations: 7.938 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3002, allocations: 0 / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3003, allocations: 4 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.3005, allocations: 59.91 kB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3005, allocations: 3.984 kB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.3007, allocations: 15.92 kB / 439.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3007, allocations: 8 kB / 439.2 MB, free: 14.93 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.0001289/0.3008, allocations: 125.8 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.3009, allocations: 31.75 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.3013, allocations: 222.2 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3013, allocations: 4 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.3013, allocations: 3.984 kB / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3013, allocations: 3.938 kB / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.3016, allocations: 233.1 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3016, allocations: 4 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.302, allocations: 59.89 kB / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.302, allocations: 4 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.302, allocations: 4 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.302, allocations: 0 / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.302, allocations: 0 / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.3026, allocations: 387.1 kB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.3026, allocations: 35.84 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.3027, allocations: 11.94 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.3029, allocations: 8.125 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.303, allocations: 15.97 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.303, allocations: 4 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.3032, allocations: 255 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3032, allocations: 0 / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3035, allocations: 40 kB / 440.6 MB, free: 13.45 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.0001242/0.3036, allocations: 107.2 kB / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.304, allocations: 150.5 kB / 440.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.304, allocations: 0 / 440.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.3041, allocations: 83.91 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3045, allocations: 39.25 kB / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3059, allocations: 0.7143 MB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.306, allocations: 159.5 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.3061, allocations: 34.27 kB / 441.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.3062, allocations: 27.42 kB / 441.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3062, allocations: 0 / 441.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Templates: time 0.00745/0.3137, allocations: 3.154 MB / 445.1 MB, free: 8.996 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: 4.6965757720172405]