Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 195.6 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 226.5 MB / 244.7 MB, free: 8.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 98.45 kB / 296.7 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002262/0.0002262, allocations: 4 kB / 356.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2089, allocations: 51.29 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001656/0.2106, allocations: 1.727 MB / 409.9 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.2113, allocations: 0.538 MB / 410.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2114, allocations: 0 / 410.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.2115, allocations: 11.86 kB / 410.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.2118, allocations: 65.8 kB / 410.5 MB, free: 25.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.2119, allocations: 39.95 kB / 410.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.2121, allocations: 235.1 kB / 410.7 MB, free: 25.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2123, allocations: 52.8 kB / 410.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.2125, allocations: 91.5 kB / 410.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2126, allocations: 115.4 kB / 411 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.2126, allocations: 8.875 kB / 411 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.646e-05/0.2127, allocations: 12 kB / 411 MB, free: 24.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.2127, allocations: 52.47 kB / 411.1 MB, free: 24.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.2128, allocations: 128.9 kB / 411.2 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.2129, allocations: 171.5 kB / 411.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2129, allocations: 0 / 411.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2129, allocations: 0 / 411.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.213, allocations: 0 / 411.4 MB, free: 24.48 MB / 298.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.0008397/0.2138, allocations: 0.5659 MB / 411.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2139, allocations: 8.031 kB / 411.9 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.2139, allocations: 46.73 kB / 412 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.214, allocations: 32.56 kB / 412 MB, free: 23.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.2142, allocations: 300 kB / 412.3 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2143, allocations: 15.94 kB / 412.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.2143, allocations: 15.98 kB / 412.3 MB, free: 23.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.2145, allocations: 125.6 kB / 412.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2146, allocations: 0 / 412.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2146, allocations: 4 kB / 412.5 MB, free: 23.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2146, allocations: 4 kB / 412.5 MB, free: 23.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.2148, allocations: 83.89 kB / 412.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.2154, allocations: 0.5274 MB / 413.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.2159, allocations: 178.7 kB / 413.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.216, allocations: 64.77 kB / 413.3 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.216, allocations: 7.984 kB / 413.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.216, allocations: 38.5 kB / 413.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.216, allocations: 0 / 413.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001267/0.2173, allocations: 0.6703 MB / 414 MB, free: 21.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.2174, allocations: 55.41 kB / 414.1 MB, free: 21.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.2176, allocations: 324.6 kB / 414.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2177, allocations: 33.7 kB / 414.4 MB, free: 21.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.2177, allocations: 156.3 kB / 414.6 MB, free: 21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.2178, allocations: 63.09 kB / 414.7 MB, free: 20.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.2178, allocations: 4 kB / 414.7 MB, free: 20.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.2179, allocations: 346.8 kB / 415 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.218, allocations: 59.92 kB / 415.1 MB, free: 20.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2181, allocations: 63.34 kB / 415.1 MB, free: 20.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.2183, allocations: 148.8 kB / 415.3 MB, free: 20.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2183, allocations: 3.938 kB / 415.3 MB, free: 20.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002899/0.2186, allocations: 219.8 kB / 415.5 MB, free: 20.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2186, allocations: 4 kB / 415.5 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2186, allocations: 0 / 415.5 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2187, allocations: 4 kB / 415.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.2189, allocations: 63.89 kB / 415.5 MB, free: 20.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.219, allocations: 7.875 kB / 415.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.2191, allocations: 12 kB / 415.6 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2191, allocations: 8 kB / 415.6 MB, free: 20 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.702e-05/0.2192, allocations: 129.8 kB / 415.7 MB, free: 19.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.2193, allocations: 27.62 kB / 415.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.2196, allocations: 224.5 kB / 415.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2196, allocations: 0 / 415.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2196, allocations: 3.938 kB / 416 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2197, allocations: 4 kB / 416 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.2199, allocations: 325.4 kB / 416.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2199, allocations: 0 / 416.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.2203, allocations: 55.95 kB / 416.3 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2203, allocations: 3.938 kB / 416.3 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.2203, allocations: 11.98 kB / 416.3 MB, free: 19.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2203, allocations: 0 / 416.3 MB, free: 19.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2203, allocations: 3.938 kB / 416.3 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.2208, allocations: 398.8 kB / 416.7 MB, free: 18.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.2209, allocations: 104.9 kB / 416.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.2209, allocations: 4 kB / 416.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2211, allocations: 7.984 kB / 416.9 MB, free: 18.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.2211, allocations: 19.92 kB / 416.9 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2212, allocations: 4 kB / 416.9 MB, free: 18.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.2213, allocations: 247 kB / 417.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2214, allocations: 0 / 417.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.2216, allocations: 44 kB / 417.2 MB, free: 18.32 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006079/0.2222, allocations: 0.9229 MB / 418.1 MB, free: 17.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.2225, allocations: 163.8 kB / 418.2 MB, free: 17.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2225, allocations: 0 / 418.2 MB, free: 17.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.2227, allocations: 87.89 kB / 418.3 MB, free: 17.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.223, allocations: 41.08 kB / 418.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.2254, allocations: 2.002 MB / 420.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.2256, allocations: 0.7638 MB / 421.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.2257, allocations: 101.7 kB / 421.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2257, allocations: 0 / 421.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.816/3.042, allocations: 3.71 MB / 424.9 MB, free: 10.43 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches