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.0008361/0.0008361, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001232/0.001232, allocations: 167.7 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9384/0.9384, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|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 1.392e-06/1.392e-06, allocations: 3.938 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.616e-05, allocations: 2.312 kB / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002176/0.002192, allocations: 2.043 MB / 276.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.002946, allocations: 0.5671 MB / 276.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.00304, allocations: 0.625 kB / 276.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.00314, allocations: 19.69 kB / 276.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.003357, allocations: 85.33 kB / 276.9 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.003525, allocations: 59.86 kB / 277 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.003752, allocations: 267 kB / 277.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.003856, allocations: 37.41 kB / 277.3 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.00405, allocations: 152.1 kB / 277.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.004165, allocations: 106 kB / 277.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.004195, allocations: 20 kB / 277.6 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.328e-05/0.004219, allocations: 16 kB / 277.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.004284, allocations: 59.69 kB / 277.6 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.004341, allocations: 75.69 kB / 277.7 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.004508, allocations: 155.2 kB / 277.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00451, allocations: 4 kB / 277.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.004511, allocations: 0 / 277.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004515, allocations: 0 / 277.9 MB, free: 0.7344 MB / 250.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.0006394/0.005154, allocations: 0.6199 MB / 278.5 MB, free: 80 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.005184, allocations: 12.03 kB / 278.5 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.005231, allocations: 40.75 kB / 278.5 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.005435, allocations: 245.2 kB / 278.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.005445, allocations: 4.375 kB / 278.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.005466, allocations: 12.38 kB / 278.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.005582, allocations: 93.75 kB / 278.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.00559, allocations: 7.984 kB / 278.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.0056, allocations: 4 kB / 278.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.005604, allocations: 7.938 kB / 278.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.593e-05/0.00565, allocations: 28.62 kB / 278.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.006059, allocations: 419.8 kB / 279.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.006281, allocations: 134 kB / 279.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.00632, allocations: 35.59 kB / 279.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.006333, allocations: 4 kB / 279.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.006353, allocations: 37.39 kB / 279.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.006354, allocations: 0 / 279.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006756/0.00703, allocations: 424.7 kB / 280 MB, free: 14.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.007065, allocations: 59.41 kB / 280 MB, free: 14.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.007272, allocations: 330.2 kB / 280.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.007289, allocations: 29.7 kB / 280.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.007389, allocations: 215 kB / 280.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.007441, allocations: 67.42 kB / 280.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.007492, allocations: 47.28 kB / 280.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.007617, allocations: 0.5079 MB / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.007654, allocations: 23.92 kB / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.007689, allocations: 26.03 kB / 281.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-05/0.007776, allocations: 78.41 kB / 281.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.007777, allocations: 0 / 281.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001584/0.007936, allocations: 145.4 kB / 281.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.007947, allocations: 4 kB / 281.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.007951, allocations: 0 / 281.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.007959, allocations: 0 / 281.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.008105, allocations: 59.89 kB / 281.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.008109, allocations: 4 kB / 281.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.008167, allocations: 4 kB / 281.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.008177, allocations: 8 kB / 281.5 MB, free: 12.83 MB / 266.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.807e-05/0.008265, allocations: 172.5 kB / 281.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.008304, allocations: 35.81 kB / 281.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.008488, allocations: 154.7 kB / 281.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.00849, allocations: 4 kB / 281.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.008492, allocations: 0 / 281.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.008496, allocations: 3.984 kB / 281.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.008665, allocations: 181.1 kB / 282.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008667, allocations: 3.938 kB / 282.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.008834, allocations: 59.89 kB / 282.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.008836, allocations: 4 kB / 282.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.008848, allocations: 4 kB / 282.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.00885, allocations: 4 kB / 282.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008851, allocations: 0 / 282.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.009102, allocations: 331.6 kB / 282.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.009135, allocations: 35.67 kB / 282.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.009158, allocations: 4 kB / 282.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.009233, allocations: 8 kB / 282.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.009266, allocations: 11.97 kB / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.009273, allocations: 4 kB / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.009383, allocations: 242.9 kB / 282.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009383, allocations: 0 / 282.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.009553, allocations: 43.94 kB / 282.8 MB, free: 11.49 MB / 266.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 8.143e-05/0.009635, allocations: 111.2 kB / 282.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.009765, allocations: 91.47 kB / 283 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.009766, allocations: 0 / 283 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/0.009825, allocations: 62.39 kB / 283.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.01006, allocations: 45.02 kB / 283.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008284/0.01088, allocations: 0.5975 MB / 283.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.779e-05/0.01093, allocations: 88.17 kB / 283.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.011, allocations: 34.28 kB / 283.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.01111, allocations: 110.2 kB / 283.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01112, allocations: 0 / 283.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of Templates: time 0.004655/0.01577, allocations: 3.13 MB / 287.1 MB, free: 7.23 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.714114540722221]