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.000769/0.000769, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001242/0.001242, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9131/0.9131, allocations: 177.1 MB / 205 MB, free: 5.27 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.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.742e-05, allocations: 2.312 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002996/0.003024, allocations: 2.075 MB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.004049, allocations: 0.5689 MB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.004181, allocations: 0 / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.004305, allocations: 23.67 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.004803, allocations: 91.33 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.005028, allocations: 51.92 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.005348, allocations: 267 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.005477, allocations: 44.91 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.005761, allocations: 155.4 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.005911, allocations: 103.5 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.005947, allocations: 16 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.005975, allocations: 20 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.006046, allocations: 59.69 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.006121, allocations: 79.69 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.006335, allocations: 147.3 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006337, allocations: 4 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006338, allocations: 3.938 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.006344, allocations: 0 / 276.7 MB, free: 13.69 MB / 266.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.0008253/0.007169, allocations: 0.6239 MB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.007208, allocations: 8.031 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.007293, allocations: 40.75 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.007625, allocations: 249.2 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.007642, allocations: 12.31 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.00768, allocations: 16.38 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.007886, allocations: 98.41 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.007895, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.007909, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.00792, allocations: 4 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.008009, allocations: 37.94 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.008683, allocations: 471.2 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.009034, allocations: 139.2 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.009102, allocations: 35.67 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.009118, allocations: 0 / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.009142, allocations: 37.39 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.009143, allocations: 0 / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001081/0.01022, allocations: 497.1 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.01026, allocations: 55.41 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.01055, allocations: 350.3 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.01056, allocations: 25.7 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.01067, allocations: 215 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.01073, allocations: 55.48 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.01079, allocations: 47.3 kB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.01094, allocations: 0.5079 MB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.01101, allocations: 31.98 kB / 280.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.01107, allocations: 31.97 kB / 280.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.01122, allocations: 86.8 kB / 280.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01122, allocations: 0 / 280.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002524/0.01148, allocations: 165.3 kB / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01149, allocations: 8 kB / 280.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.0115, allocations: 0 / 280.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01151, allocations: 0 / 280.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.01172, allocations: 55.95 kB / 280.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01173, allocations: 3.984 kB / 280.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.203e-05/0.01181, allocations: 12 kB / 280.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.01182, allocations: 4 kB / 280.5 MB, free: 9.582 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 9.933e-05/0.01192, allocations: 168.5 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.01198, allocations: 35.81 kB / 280.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.01226, allocations: 168.6 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01226, allocations: 4 kB / 280.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01227, allocations: 0 / 280.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01227, allocations: 0 / 280.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.01252, allocations: 228.3 kB / 281.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01252, allocations: 0 / 281.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.01275, allocations: 59.95 kB / 281.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01276, allocations: 0 / 281.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.01278, allocations: 8 kB / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01278, allocations: 0 / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01278, allocations: 3.984 kB / 281.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.01317, allocations: 350.4 kB / 281.6 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.01321, allocations: 31.73 kB / 281.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.01325, allocations: 8 kB / 281.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.01336, allocations: 4 kB / 281.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.01341, allocations: 15.97 kB / 281.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.01342, allocations: 4 kB / 281.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.01361, allocations: 255 kB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01361, allocations: 0 / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000273/0.01388, allocations: 43.94 kB / 281.9 MB, free: 8.156 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 0.0001116/0.01399, allocations: 103.2 kB / 282 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.01422, allocations: 111.4 kB / 282.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01422, allocations: 0 / 282.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.01431, allocations: 67.59 kB / 282.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.01467, allocations: 43.64 kB / 282.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.01591, allocations: 0.6038 MB / 282.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.99e-05/0.01597, allocations: 92.3 kB / 282.9 MB, free: 7.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.996e-05/0.01606, allocations: 34.27 kB / 283 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.481e-05/0.01614, allocations: 32.48 kB / 283 MB, free: 7.016 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01614, allocations: 0 / 283 MB, free: 7.016 MB / 266.7 MB Notification: Performance of Templates: time 0.005934/0.02208, allocations: 2.979 MB / 286 MB, free: 4.09 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.6043059891089797]