Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009376/0.0009376, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 140.5 kB / 24.89 MB, free: 9.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9675/0.9675, allocations: 173.3 MB / 201.5 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 268.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.334e-05, allocations: 2.312 kB / 268.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002299/0.002312, allocations: 2.081 MB / 270.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008528/0.003165, allocations: 0.5766 MB / 271.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.003256, allocations: 3.938 kB / 271.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.003361, allocations: 23.67 kB / 271.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.003586, allocations: 83.34 kB / 271.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.003758, allocations: 51.91 kB / 271.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.00397, allocations: 275 kB / 271.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.004064, allocations: 42.8 kB / 271.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.004219, allocations: 151.5 kB / 271.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.004336, allocations: 99.55 kB / 271.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.004364, allocations: 20 kB / 271.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.004386, allocations: 20 kB / 271.9 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.004444, allocations: 59.69 kB / 272 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.0045, allocations: 67.69 kB / 272.1 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.004655, allocations: 159.2 kB / 272.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004657, allocations: 0 / 272.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004658, allocations: 4 kB / 272.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.004661, allocations: 0 / 272.2 MB, free: 2.422 MB / 250.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.0005326/0.005194, allocations: 0.4913 MB / 272.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.005224, allocations: 8.922 kB / 272.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.005265, allocations: 28.91 kB / 272.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.005455, allocations: 222.5 kB / 273 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.005467, allocations: 4.375 kB / 273 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.005489, allocations: 12.38 kB / 273 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.0056, allocations: 89.75 kB / 273.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.005606, allocations: 0 / 273.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.005617, allocations: 12 kB / 273.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.005621, allocations: 0 / 273.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.287e-05/0.005664, allocations: 27.98 kB / 273.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.006032, allocations: 290.6 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.006238, allocations: 114.5 kB / 273.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.006273, allocations: 24.84 kB / 273.5 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.006287, allocations: 4 kB / 273.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.006305, allocations: 34.56 kB / 273.6 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.006306, allocations: 0 / 273.6 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007454/0.007052, allocations: 433 kB / 274 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.007077, allocations: 55.41 kB / 274.1 MB, free: 468 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.0073, allocations: 274.9 kB / 274.3 MB, free: 176 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.007314, allocations: 33.7 kB / 274.4 MB, free: 136 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.007353, allocations: 132.9 kB / 274.5 MB, free: 0 / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.007404, allocations: 63.66 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.007445, allocations: 37.69 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.007519, allocations: 342.8 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.988e-05/0.007549, allocations: 19.98 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.007578, allocations: 22.98 kB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.56e-05/0.007654, allocations: 67.39 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.007655, allocations: 0 / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001135/0.007768, allocations: 112.5 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.00778, allocations: 11.98 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.007783, allocations: 0 / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.007795, allocations: 4 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.007974, allocations: 67.95 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.007977, allocations: 0 / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.008031, allocations: 15.89 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.008039, allocations: 3.984 kB / 275.2 MB, free: 15.23 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 6.092e-05/0.0081, allocations: 116.7 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.008133, allocations: 23.92 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.00828, allocations: 143.5 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.008281, allocations: 0 / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.008283, allocations: 0 / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008286, allocations: 0 / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.00844, allocations: 157.8 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008441, allocations: 0 / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.008678, allocations: 79.91 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.008681, allocations: 3.938 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.008694, allocations: 11.98 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.008696, allocations: 4 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.008697, allocations: 0 / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.008899, allocations: 250 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.008931, allocations: 27.73 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.008954, allocations: 8 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.009028, allocations: 8 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.009059, allocations: 11.97 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.009065, allocations: 3.938 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.009142, allocations: 112.6 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009142, allocations: 8 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.009288, allocations: 44 kB / 276.2 MB, free: 14.18 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.064e-05/0.009359, allocations: 80.42 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.00947, allocations: 76.77 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.009474, allocations: 4 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.029e-05/0.009524, allocations: 52.77 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.009715, allocations: 54.41 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.01047, allocations: 0.5554 MB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.5e-05/0.01051, allocations: 84.31 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.627e-05/0.01058, allocations: 30.27 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.01071, allocations: 91.36 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01071, allocations: 3.938 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Templates: time 0.004612/0.01532, allocations: 3.132 MB / 280.4 MB, free: 10.05 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.543529220856726]