Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001392/0.001392, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001511/0.001511, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 63.89 kB / 379.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3006, allocations: 53.4 MB / 432.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.0038/0.3044, allocations: 2.107 MB / 434.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3056, allocations: 0.5768 MB / 435.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.3058, allocations: 7.938 kB / 435.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.3059, allocations: 23.67 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.3062, allocations: 79.47 kB / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.3064, allocations: 59.8 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.3068, allocations: 259.1 kB / 435.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.307, allocations: 40.91 kB / 435.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.3072, allocations: 119.4 kB / 435.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.3075, allocations: 135.2 kB / 435.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.3075, allocations: 20 kB / 435.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.11e-05/0.3075, allocations: 20 kB / 435.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3077, allocations: 63.67 kB / 436 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.3078, allocations: 127.2 kB / 436.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.3081, allocations: 236.3 kB / 436.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3081, allocations: 0 / 436.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3081, allocations: 0 / 436.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3081, allocations: 0 / 436.3 MB, free: 3.031 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.001197/0.3093, allocations: 0.5279 MB / 436.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3094, allocations: 12.03 kB / 436.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.3095, allocations: 28.75 kB / 436.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.3099, allocations: 266.4 kB / 437.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3099, allocations: 16.12 kB / 437.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.31, allocations: 12 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.3102, allocations: 130.2 kB / 437.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3103, allocations: 0 / 437.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3103, allocations: 0 / 437.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3103, allocations: 4 kB / 437.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.3105, allocations: 75.95 kB / 437.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.3114, allocations: 0.4954 MB / 437.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.3119, allocations: 186 kB / 438 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3121, allocations: 56.84 kB / 438.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3121, allocations: 3.938 kB / 438.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3121, allocations: 34.56 kB / 438.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3121, allocations: 0 / 438.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001587/0.3137, allocations: 0.5904 MB / 438.7 MB, free: 468 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3138, allocations: 55.41 kB / 438.8 MB, free: 400 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.3142, allocations: 332.6 kB / 439.1 MB, free: 60 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.3142, allocations: 25.7 kB / 439.1 MB, free: 28 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3143, allocations: 164.3 kB / 439.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.221e-05/0.3144, allocations: 63.48 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.3145, allocations: 37.7 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3147, allocations: 338.8 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3148, allocations: 63.91 kB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.315, allocations: 63.34 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.3152, allocations: 140.8 kB / 440 MB, free: 15.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3152, allocations: 0 / 440 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003998/0.3156, allocations: 220.3 kB / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3157, allocations: 10.5 kB / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3157, allocations: 0 / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3157, allocations: 0 / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.316, allocations: 55.97 kB / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.316, allocations: 7.938 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3162, allocations: 11.98 kB / 440.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3162, allocations: 4 kB / 440.3 MB, free: 14.85 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.0001388/0.3163, allocations: 137.7 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3164, allocations: 27.81 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.3168, allocations: 224.5 kB / 440.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3168, allocations: 0 / 440.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3169, allocations: 7.875 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3169, allocations: 0 / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.3173, allocations: 296.5 kB / 441 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3173, allocations: 3.938 kB / 441 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.3176, allocations: 63.95 kB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3177, allocations: 0 / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3177, allocations: 8 kB / 441 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3177, allocations: 0 / 441 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3177, allocations: 3.938 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.3183, allocations: 398.1 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.3184, allocations: 35.8 kB / 441.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.3184, allocations: 8 kB / 441.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3186, allocations: 11.92 kB / 441.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.3187, allocations: 19.91 kB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3187, allocations: 4 kB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002886/0.319, allocations: 247 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.319, allocations: 0 / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.3193, allocations: 48 kB / 441.8 MB, free: 13.26 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.000134/0.3194, allocations: 99.25 kB / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.3198, allocations: 150.4 kB / 442 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3198, allocations: 0 / 442 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.32, allocations: 83.89 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3204, allocations: 29.09 kB / 442.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3219, allocations: 0.7395 MB / 442.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.3224, allocations: 0.7635 MB / 443.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3225, allocations: 27.44 kB / 443.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3225, allocations: 0 / 443.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Templates: time 0.006075/0.3286, allocations: 3.138 MB / 446.8 MB, free: 8.184 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.733867883915082]