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.002447/0.002447, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002976/0.002976, allocations: 169.3 kB / 24.28 MB, free: 152 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.463e-06/1.463e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.094e-05, allocations: 6.25 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00382/0.003851, allocations: 2.044 MB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.005001, allocations: 0.5652 MB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.005102, allocations: 0 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.005224, allocations: 23.67 kB / 275 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.005538, allocations: 83.3 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.005742, allocations: 51.91 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.006101, allocations: 275 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.00622, allocations: 36.89 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.006524, allocations: 159.5 kB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.006722, allocations: 103.5 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.006766, allocations: 16 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.27e-05/0.006809, allocations: 24 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.637e-05/0.006905, allocations: 63.69 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.007006, allocations: 75.62 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.007315, allocations: 227.1 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.007318, allocations: 0 / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007318, allocations: 0 / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.007323, allocations: 0 / 276.1 MB, free: 14.08 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.001192/0.008515, allocations: 0.6508 MB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.00855, allocations: 8.031 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.008639, allocations: 40.75 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.009048, allocations: 256.5 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.009061, allocations: 4.375 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.009098, allocations: 12.38 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.009363, allocations: 126.3 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.009373, allocations: 0 / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.009386, allocations: 0 / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.009393, allocations: 4 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.009581, allocations: 75.91 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009289/0.01051, allocations: 499.3 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.01105, allocations: 171.2 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.01118, allocations: 47.67 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.01121, allocations: 8 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.01124, allocations: 37.39 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.01125, allocations: 0 / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001612/0.01286, allocations: 0.5818 MB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.01291, allocations: 51.41 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.01339, allocations: 410.3 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.01342, allocations: 29.7 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.01359, allocations: 215 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/0.01366, allocations: 67.48 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.01375, allocations: 43.36 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002941/0.01404, allocations: 0.5196 MB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.01418, allocations: 55.97 kB / 279.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.0143, allocations: 51.98 kB / 280 MB, free: 9.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.01458, allocations: 138.6 kB / 280.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01458, allocations: 0 / 280.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003961/0.01498, allocations: 213.3 kB / 280.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01499, allocations: 4 kB / 280.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.015, allocations: 0 / 280.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01501, allocations: 0 / 280.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.01534, allocations: 55.97 kB / 280.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.01535, allocations: 7.969 kB / 280.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.0155, allocations: 8 kB / 280.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01552, allocations: 8 kB / 280.4 MB, free: 9.496 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.0001707/0.01569, allocations: 184.5 kB / 280.6 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.01576, allocations: 35.81 kB / 280.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006088/0.01637, allocations: 198.3 kB / 280.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01638, allocations: 4 kB / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01638, allocations: 0 / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01638, allocations: 0 / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.01676, allocations: 256.4 kB / 281.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01676, allocations: 0 / 281.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.01715, allocations: 63.89 kB / 281.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01715, allocations: 0 / 281.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.01717, allocations: 7.984 kB / 281.1 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01718, allocations: 4 kB / 281.1 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01718, allocations: 0 / 281.1 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/0.01784, allocations: 423.5 kB / 281.6 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.0179, allocations: 27.8 kB / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.01794, allocations: 8 kB / 281.6 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.01814, allocations: 8 kB / 281.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.01819, allocations: 11.97 kB / 281.6 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.01821, allocations: 7.984 kB / 281.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003184/0.01853, allocations: 295 kB / 281.9 MB, free: 7.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01853, allocations: 0 / 281.9 MB, free: 7.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.0188, allocations: 40 kB / 281.9 MB, free: 7.887 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.0001389/0.01894, allocations: 111.2 kB / 282.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.01931, allocations: 157.2 kB / 282.2 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01932, allocations: 0 / 282.2 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.01948, allocations: 87.58 kB / 282.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.01985, allocations: 37.14 kB / 282.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.02123, allocations: 0.6247 MB / 283 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.0214, allocations: 163.5 kB / 283.1 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.02151, allocations: 30.28 kB / 283.1 MB, free: 6.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.02161, allocations: 28.48 kB / 283.2 MB, free: 6.598 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02161, allocations: 0 / 283.2 MB, free: 6.598 MB / 266.7 MB Notification: Performance of Templates: time 0.007827/0.02944, allocations: 2.968 MB / 286.1 MB, free: 3.688 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","/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.733796434942633]