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.001031/0.001031, allocations: 72.08 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.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.001147/0.001147, allocations: 142.2 kB / 24.97 MB, free: 8.18 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.9525/0.9525, allocations: 173.3 MB / 201.5 MB, free: 8.949 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.403e-06/1.403e-06, allocations: 0 / 268.1 MB, free: 6.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.367e-05, allocations: 6.25 kB / 268.1 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.005695/0.005719, allocations: 2.053 MB / 270.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.006537, allocations: 0.5456 MB / 270.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.006646, allocations: 0 / 270.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.006764, allocations: 27.67 kB / 270.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.007032, allocations: 83.28 kB / 270.8 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.007214, allocations: 55.86 kB / 270.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.01051, allocations: 267 kB / 271.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.01063, allocations: 36.91 kB / 271.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.01081, allocations: 147.5 kB / 271.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.01095, allocations: 103.6 kB / 271.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.01099, allocations: 20 kB / 271.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.751e-05/0.01101, allocations: 20 kB / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.01109, allocations: 67.61 kB / 271.5 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.01116, allocations: 75.69 kB / 271.6 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.01136, allocations: 159.2 kB / 271.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01136, allocations: 0 / 271.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01137, allocations: 4 kB / 271.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.01137, allocations: 0 / 271.7 MB, free: 2.887 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.0007834/0.01215, allocations: 0.6355 MB / 272.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.01219, allocations: 12.92 kB / 272.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/0.01227, allocations: 40.75 kB / 272.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.01256, allocations: 245.4 kB / 272.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.01258, allocations: 8.375 kB / 272.7 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.01261, allocations: 16.33 kB / 272.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.01279, allocations: 101.7 kB / 272.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.01279, allocations: 0 / 272.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.01281, allocations: 4 kB / 272.8 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.01282, allocations: 4 kB / 272.8 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.161e-05/0.01291, allocations: 39.97 kB / 272.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.01635, allocations: 467.2 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.01665, allocations: 143.2 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.0167, allocations: 35.67 kB / 273.5 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.01672, allocations: 4 kB / 273.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.01674, allocations: 41.39 kB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.01674, allocations: 0 / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008656/0.01761, allocations: 488.5 kB / 274 MB, free: 484 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.01764, allocations: 55.34 kB / 274 MB, free: 416 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.01803, allocations: 358.3 kB / 274.4 MB, free: 36 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.01805, allocations: 33.78 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.01814, allocations: 211 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.01819, allocations: 59.48 kB / 274.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.01824, allocations: 43.36 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01836, allocations: 0.504 MB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.01842, allocations: 27.98 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.01847, allocations: 34.97 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.0186, allocations: 83.61 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.0186, allocations: 0 / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000196/0.0188, allocations: 164.4 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01881, allocations: 8 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.01881, allocations: 4 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.01883, allocations: 3.938 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.01898, allocations: 55.95 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01899, allocations: 4 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.01905, allocations: 8 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.01906, allocations: 4 kB / 275.6 MB, free: 14.76 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 7.542e-05/0.01914, allocations: 168.5 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.01918, allocations: 35.81 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.0194, allocations: 168.6 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0194, allocations: 4 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.0194, allocations: 0 / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01941, allocations: 0 / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.01959, allocations: 224.4 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01959, allocations: 0 / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.01978, allocations: 59.89 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01978, allocations: 0 / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.0198, allocations: 11.98 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.0198, allocations: 0 / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.0198, allocations: 3.984 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.0201, allocations: 362.3 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.02014, allocations: 31.8 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.02017, allocations: 7.938 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.02026, allocations: 11.98 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.0203, allocations: 7.984 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.02031, allocations: 11.98 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.02046, allocations: 259 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02046, allocations: 0 / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.02063, allocations: 40 kB / 277 MB, free: 13.32 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 8.545e-05/0.02072, allocations: 107.2 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.0209, allocations: 111.4 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0209, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.02098, allocations: 63.58 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.02123, allocations: 33.14 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.02218, allocations: 0.6208 MB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.02223, allocations: 88.31 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.0223, allocations: 34.2 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.02237, allocations: 28.48 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of SimCode: time 1.193e-06/0.02237, allocations: 0 / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Templates: time 0.004696/0.02706, allocations: 2.972 MB / 281.1 MB, free: 9.254 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 -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.866945174988359]