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.001708/0.001708, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001483/0.001483, allocations: 161.7 kB / 24.27 MB, free: 168 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 1.466/1.466, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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 1.352e-06/1.352e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.493e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003375/0.0034, allocations: 2.009 MB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.004621, allocations: 0.5418 MB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.004722, allocations: 0 / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.004849, allocations: 27.67 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.005145, allocations: 87.3 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.005369, allocations: 59.89 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.005708, allocations: 263 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.005831, allocations: 48.88 kB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.006091, allocations: 143.5 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.006282, allocations: 111.5 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.006325, allocations: 20 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.691e-05/0.006362, allocations: 20 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.006464, allocations: 63.69 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.006564, allocations: 71.7 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.00687, allocations: 235 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.006873, allocations: 0 / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006874, allocations: 0 / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.006878, allocations: 0 / 276 MB, free: 14.13 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.001145/0.008024, allocations: 0.5395 MB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.008059, allocations: 8.031 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.008163, allocations: 40.75 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.008551, allocations: 249.7 kB / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.008567, allocations: 12.38 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.008607, allocations: 12.38 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.008882, allocations: 134.3 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.008893, allocations: 4 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.008908, allocations: 0 / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.008913, allocations: 0 / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.009116, allocations: 83.89 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.009918, allocations: 428.1 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.01045, allocations: 174.7 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.01059, allocations: 56.84 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.01061, allocations: 3.984 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.01064, allocations: 34.56 kB / 277.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.01064, allocations: 0 / 277.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001575/0.01222, allocations: 0.5982 MB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.01226, allocations: 59.34 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.01268, allocations: 332.6 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.01271, allocations: 29.7 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.01285, allocations: 168.3 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.156e-05/0.01292, allocations: 55.48 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.01301, allocations: 41.64 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.0132, allocations: 338.8 kB / 279.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.01334, allocations: 59.97 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.01347, allocations: 59.97 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.01378, allocations: 148.1 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01378, allocations: 0 / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004327/0.01421, allocations: 225.3 kB / 279.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.01423, allocations: 8 kB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01423, allocations: 0 / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.01425, allocations: 0 / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.01455, allocations: 59.97 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.01456, allocations: 7.969 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.01471, allocations: 8 kB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.01474, allocations: 8 kB / 279.9 MB, free: 10 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 0.0001473/0.01488, allocations: 129.7 kB / 280.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.01496, allocations: 39.8 kB / 280.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.01545, allocations: 222.8 kB / 280.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.01546, allocations: 4 kB / 280.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01546, allocations: 0 / 280.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01547, allocations: 0 / 280.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.01583, allocations: 225.1 kB / 280.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.01584, allocations: 0 / 280.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.01622, allocations: 59.89 kB / 280.6 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01622, allocations: 0 / 280.6 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.01624, allocations: 8 kB / 280.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01625, allocations: 4 kB / 280.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01625, allocations: 0 / 280.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006764/0.01692, allocations: 403.1 kB / 281 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/0.01698, allocations: 27.73 kB / 281 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.01703, allocations: 8.062 kB / 281 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.01723, allocations: 8 kB / 281 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.01728, allocations: 11.97 kB / 281.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.0173, allocations: 4 kB / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002971/0.01759, allocations: 251 kB / 281.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01759, allocations: 4 kB / 281.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.01789, allocations: 47.94 kB / 281.4 MB, free: 8.512 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.0001468/0.01804, allocations: 103.2 kB / 281.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.0184, allocations: 157.2 kB / 281.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.0184, allocations: 0 / 281.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.01857, allocations: 79.91 kB / 281.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.01897, allocations: 37.12 kB / 281.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.02046, allocations: 0.6349 MB / 282.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.02063, allocations: 159.5 kB / 282.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.02076, allocations: 30.28 kB / 282.5 MB, free: 7.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.946e-05/0.02086, allocations: 32.48 kB / 282.6 MB, free: 7.234 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02086, allocations: 0 / 282.6 MB, free: 7.234 MB / 266.7 MB Notification: Performance of Templates: time 0.007372/0.02823, allocations: 2.946 MB / 285.5 MB, free: 4.348 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=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.435040401993319]