Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 113 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001824/0.001824, allocations: 218.7 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.53/1.53, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 59.89 kB / 378.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4219, allocations: 53.31 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004081/0.4259, allocations: 2.103 MB / 434.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.4272, allocations: 0.5807 MB / 434.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.4273, allocations: 0 / 434.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.4275, allocations: 23.67 kB / 434.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.4278, allocations: 79.41 kB / 434.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.428, allocations: 51.94 kB / 434.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.4284, allocations: 259.1 kB / 435.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.4285, allocations: 48.66 kB / 435.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.4287, allocations: 115.4 kB / 435.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.429, allocations: 139.2 kB / 435.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.429, allocations: 20 kB / 435.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.869e-05/0.4291, allocations: 20 kB / 435.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.4292, allocations: 59.69 kB / 435.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.4293, allocations: 119.2 kB / 435.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.4296, allocations: 248.2 kB / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4296, allocations: 0 / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4296, allocations: 0 / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4297, allocations: 0 / 435.9 MB, free: 3.555 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.001333/0.431, allocations: 0.5954 MB / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.431, allocations: 12.03 kB / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.4311, allocations: 32.73 kB / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.4316, allocations: 316.2 kB / 436.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.4316, allocations: 12.12 kB / 436.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.4316, allocations: 23.97 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.4319, allocations: 117.6 kB / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4319, allocations: 4 kB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4319, allocations: 7.938 kB / 437 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.4319, allocations: 0 / 437 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.4321, allocations: 83.89 kB / 437.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.4333, allocations: 0.5198 MB / 437.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.4338, allocations: 174.7 kB / 437.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.4339, allocations: 64.83 kB / 437.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.434, allocations: 3.938 kB / 437.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.434, allocations: 34.56 kB / 437.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.674e-06/0.434, allocations: 0 / 437.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001784/0.4358, allocations: 0.6685 MB / 438.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.4358, allocations: 59.39 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.4363, allocations: 328.6 kB / 438.9 MB, free: 300 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.4363, allocations: 29.7 kB / 439 MB, free: 264 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4364, allocations: 156.3 kB / 439.1 MB, free: 100 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.4365, allocations: 59.48 kB / 439.2 MB, free: 40 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.4366, allocations: 41.7 kB / 439.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4368, allocations: 342.8 kB / 439.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.4369, allocations: 63.91 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.437, allocations: 55.98 kB / 439.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.4373, allocations: 151.8 kB / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4373, allocations: 0 / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004735/0.4378, allocations: 213.3 kB / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4378, allocations: 12 kB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4378, allocations: 0 / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4378, allocations: 0 / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.4381, allocations: 55.95 kB / 440.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.4381, allocations: 11.92 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.4383, allocations: 8 kB / 440.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.4383, allocations: 0 / 440.1 MB, free: 15.08 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.0001519/0.4385, allocations: 138.4 kB / 440.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.4385, allocations: 31.81 kB / 440.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.439, allocations: 223.2 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.439, allocations: 3.938 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.439, allocations: 3.938 kB / 440.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.439, allocations: 3.984 kB / 440.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.4394, allocations: 321.4 kB / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4394, allocations: 0 / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.4398, allocations: 59.95 kB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4398, allocations: 4 kB / 440.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.4398, allocations: 7.984 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4398, allocations: 0 / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4398, allocations: 3.938 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.4404, allocations: 391.1 kB / 441.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4405, allocations: 108.8 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.4406, allocations: 12.05 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.4408, allocations: 16.11 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.4408, allocations: 11.92 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.4409, allocations: 8 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003088/0.4412, allocations: 251 kB / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4412, allocations: 0 / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.4414, allocations: 44 kB / 441.7 MB, free: 13.38 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.000161/0.4416, allocations: 103.2 kB / 441.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.442, allocations: 147.9 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.442, allocations: 0 / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.4422, allocations: 87.02 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.4426, allocations: 33.03 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.4441, allocations: 0.7462 MB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.4446, allocations: 0.7675 MB / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.4447, allocations: 23.44 kB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4447, allocations: 0 / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of Templates: time 0.006122/0.4508, allocations: 3.131 MB / 446.7 MB, free: 8.285 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.804760312195867]