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.00132/0.00132, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001368/0.001368, allocations: 168 kB / 23.95 MB, free: 4.16 MB / 14.72 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.439/1.439, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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+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.303e-06/1.303e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.341e-05, allocations: 6.219 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002972/0.003005, allocations: 2.009 MB / 327.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004088, allocations: 0.5492 MB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.004192, allocations: 1.219 kB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.004307, allocations: 29.02 kB / 327.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.004594, allocations: 78.44 kB / 327.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.004793, allocations: 53.69 kB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.005123, allocations: 269.1 kB / 328.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.00525, allocations: 41.89 kB / 328.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.005547, allocations: 151.5 kB / 328.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.005738, allocations: 104.1 kB / 328.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.005782, allocations: 24.27 kB / 328.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.584e-05/0.005818, allocations: 23.94 kB / 328.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.005915, allocations: 57.41 kB / 328.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.006017, allocations: 75.36 kB / 328.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.006352, allocations: 229 kB / 328.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.006355, allocations: 0 / 328.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006356, allocations: 0.5625 kB / 328.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.006361, allocations: 1.344 kB / 328.8 MB, free: 14.27 MB / 302.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.00115/0.007511, allocations: 0.533 MB / 329.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.007544, allocations: 10 kB / 329.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.007619, allocations: 31.03 kB / 329.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.008036, allocations: 253 kB / 329.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.008049, allocations: 9.656 kB / 329.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.008089, allocations: 11.69 kB / 329.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.008372, allocations: 136.1 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.008382, allocations: 0 / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.0084, allocations: 1.312 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.008405, allocations: 2.031 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.008595, allocations: 78.06 kB / 329.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000796/0.009391, allocations: 437.7 kB / 330.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.009891, allocations: 175.7 kB / 330.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.01003, allocations: 58.7 kB / 330.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.01004, allocations: 1.469 kB / 330.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.01007, allocations: 36.56 kB / 330.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.01007, allocations: 5.219 kB / 330.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001541/0.01161, allocations: 0.5893 MB / 331.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.01166, allocations: 53.72 kB / 331.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.01208, allocations: 337.9 kB / 331.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.0121, allocations: 30.8 kB / 331.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01222, allocations: 162 kB / 331.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.0123, allocations: 62.53 kB / 331.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.01237, allocations: 37.48 kB / 331.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.01253, allocations: 341.6 kB / 332.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.01267, allocations: 63.44 kB / 332.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.01281, allocations: 65.03 kB / 332.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.01311, allocations: 144.1 kB / 332.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01311, allocations: 0 / 332.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003915/0.0135, allocations: 222.7 kB / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01352, allocations: 5.688 kB / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.01352, allocations: 3.984 kB / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.01354, allocations: 1.125 kB / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.01384, allocations: 61.89 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01385, allocations: 1.375 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.014, allocations: 7.906 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.01402, allocations: 4 kB / 332.7 MB, free: 11.52 MB / 302.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.0001489/0.01417, allocations: 139.1 kB / 332.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.01423, allocations: 33.09 kB / 332.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.0147, allocations: 221.1 kB / 333.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.0147, allocations: 2.281 kB / 333.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.0147, allocations: 0 / 333.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01471, allocations: 0 / 333.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.01505, allocations: 225.1 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01505, allocations: 1.531 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.01543, allocations: 62.89 kB / 333.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01543, allocations: 5.094 kB / 333.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.01545, allocations: 6.469 kB / 333.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01545, allocations: 1.188 kB / 333.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01545, allocations: 0 / 333.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.01609, allocations: 389.3 kB / 333.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.01615, allocations: 31.45 kB / 333.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.0162, allocations: 6.5 kB / 333.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.0164, allocations: 7.5 kB / 333.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.01645, allocations: 12.38 kB / 333.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.01647, allocations: 12.05 kB / 333.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.01675, allocations: 252.7 kB / 334 MB, free: 10.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01675, allocations: 3.938 kB / 334.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.01703, allocations: 42.66 kB / 334.1 MB, free: 10.52 MB / 302.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.0001291/0.01716, allocations: 101.8 kB / 334.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004334/0.0176, allocations: 151.4 kB / 334.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.0176, allocations: 1.062 kB / 334.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.01778, allocations: 88.83 kB / 334.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.01814, allocations: 39.77 kB / 334.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.01943, allocations: 0.6277 MB / 335.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.01958, allocations: 158.1 kB / 335.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.01968, allocations: 28.41 kB / 335.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.01979, allocations: 27.42 kB / 335.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01979, allocations: 1.062 kB / 335.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of Templates: time 0.007517/0.02731, allocations: 2.92 MB / 338.2 MB, free: 7.77 MB / 302.1 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.249663531780243]