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.0008385/0.0008385, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001053/0.001053, allocations: 162.6 kB / 24.99 MB, free: 8.336 MB / 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 0.9496/0.9496, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|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.123e-06/1.123e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.787e-05, allocations: 6.25 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002336/0.002354, allocations: 2.075 MB / 275.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.003074, allocations: 0.5651 MB / 275.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.939e-05/0.003163, allocations: 4 kB / 275.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.787e-05/0.003261, allocations: 19.69 kB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.003493, allocations: 91.33 kB / 275.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.003651, allocations: 51.86 kB / 275.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.00387, allocations: 267 kB / 276.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003978, allocations: 40.91 kB / 276.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.004173, allocations: 159.4 kB / 276.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004294, allocations: 103.6 kB / 276.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.004321, allocations: 20 kB / 276.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.004343, allocations: 20 kB / 276.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.004411, allocations: 67.62 kB / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.004473, allocations: 75.69 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.004638, allocations: 151.3 kB / 276.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.004641, allocations: 4 kB / 276.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004642, allocations: 0 / 276.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004646, allocations: 4 kB / 276.8 MB, free: 14.11 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.0006277/0.005274, allocations: 0.6239 MB / 277.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.005306, allocations: 11.97 kB / 277.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.005364, allocations: 40.75 kB / 277.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.005612, allocations: 265.2 kB / 277.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.005622, allocations: 8.375 kB / 277.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.005648, allocations: 12.38 kB / 277.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.005788, allocations: 98.41 kB / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.005794, allocations: 0 / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.005806, allocations: 4 kB / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.005814, allocations: 4 kB / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.038e-05/0.005884, allocations: 37.94 kB / 277.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.00637, allocations: 467.2 kB / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.006647, allocations: 143.2 kB / 278.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.006699, allocations: 35.67 kB / 278.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.006714, allocations: 4 kB / 278.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.006732, allocations: 33.39 kB / 278.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.006734, allocations: 0 / 278.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008154/0.007549, allocations: 0.489 MB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.007576, allocations: 51.41 kB / 279.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.007805, allocations: 358.3 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.007818, allocations: 25.7 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.0079, allocations: 211 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.007945, allocations: 63.48 kB / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.007993, allocations: 43.36 kB / 279.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.008116, allocations: 0.504 MB / 280.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.008171, allocations: 31.97 kB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.008219, allocations: 35.98 kB / 280.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.008335, allocations: 86.61 kB / 280.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.008336, allocations: 0 / 280.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001845/0.008521, allocations: 161.3 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.008533, allocations: 8 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.008537, allocations: 0 / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.008548, allocations: 3.984 kB / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.008697, allocations: 55.97 kB / 280.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008702, allocations: 0 / 280.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.008762, allocations: 7.938 kB / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.008772, allocations: 15.94 kB / 280.7 MB, free: 9.984 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.0003025/0.009075, allocations: 168.5 kB / 280.8 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.009114, allocations: 31.81 kB / 280.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.009325, allocations: 175.1 kB / 281 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.009328, allocations: 4 kB / 281 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.009334, allocations: 0 / 281 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.009338, allocations: 0 / 281 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.009522, allocations: 220.4 kB / 281.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.009523, allocations: 0 / 281.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.009704, allocations: 63.95 kB / 281.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.009706, allocations: 0 / 281.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.009722, allocations: 11.98 kB / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009723, allocations: 0 / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009724, allocations: 0 / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.01001, allocations: 343.6 kB / 281.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.01005, allocations: 39.72 kB / 281.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01007, allocations: 8 kB / 281.7 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.01016, allocations: 4 kB / 281.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.0102, allocations: 15.97 kB / 281.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.0102, allocations: 8 kB / 281.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.01036, allocations: 259 kB / 282 MB, free: 8.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01036, allocations: 0 / 282 MB, free: 8.594 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.01053, allocations: 40 kB / 282 MB, free: 8.555 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 7.844e-05/0.01061, allocations: 103.2 kB / 282.1 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.01078, allocations: 117.4 kB / 282.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01079, allocations: 0 / 282.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.217e-05/0.01086, allocations: 63.59 kB / 282.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.0111, allocations: 46 kB / 282.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.01201, allocations: 0.6051 MB / 282.9 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.128e-05/0.01206, allocations: 88.3 kB / 283 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.701e-05/0.01213, allocations: 34.28 kB / 283.1 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.0122, allocations: 24.48 kB / 283.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0122, allocations: 4 kB / 283.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of Templates: time 0.004572/0.01677, allocations: 2.974 MB / 286.1 MB, free: 4.5 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7793296629097313]