Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 175.9 kB / 16.77 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007391/0.000739, allocations: 92.23 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06255/0.06255, allocations: 12.2 MB / 331.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004336, allocations: 12 kB / 392.2 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07035/0.0708, allocations: 50.29 MB / 442.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001635/0.07247, allocations: 1.72 MB / 444.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.07328, allocations: 0.5626 MB / 444.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.07342, allocations: 0 / 444.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.209e-05/0.07352, allocations: 15.8 kB / 444.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.07375, allocations: 75.53 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.07389, allocations: 39.89 kB / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.0741, allocations: 235.1 kB / 445.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.07422, allocations: 60.69 kB / 445.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.614e-05/0.07433, allocations: 83.52 kB / 445.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.07445, allocations: 127.3 kB / 445.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.07448, allocations: 8 kB / 445.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.485e-05/0.07451, allocations: 12 kB / 445.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.07458, allocations: 39.77 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.07467, allocations: 128.9 kB / 445.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.07479, allocations: 167.8 kB / 445.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.0748, allocations: 0 / 445.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.07481, allocations: 4 kB / 445.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.07482, allocations: 0 / 445.8 MB, free: 13.27 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.0007904/0.07562, allocations: 0.5683 MB / 446.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.07566, allocations: 12.03 kB / 446.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.0757, allocations: 46.73 kB / 446.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.07575, allocations: 32.47 kB / 446.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.07602, allocations: 308.1 kB / 446.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.07604, allocations: 15.94 kB / 446.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.07608, allocations: 12 kB / 446.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.07629, allocations: 129.5 kB / 446.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.0763, allocations: 0 / 446.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.07632, allocations: 4 kB / 446.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.07633, allocations: 4 kB / 446.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.07649, allocations: 75.95 kB / 447 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.0771, allocations: 0.5237 MB / 447.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.07751, allocations: 178.7 kB / 447.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.07762, allocations: 72.75 kB / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.07765, allocations: 0 / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.07767, allocations: 34.5 kB / 447.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.07768, allocations: 8 kB / 447.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.00121/0.07889, allocations: 0.6785 MB / 448.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.07893, allocations: 51.41 kB / 448.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.07919, allocations: 336.6 kB / 448.8 MB, free: 9.953 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.07921, allocations: 29.7 kB / 448.9 MB, free: 9.918 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.07927, allocations: 156.3 kB / 449 MB, free: 9.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.07932, allocations: 63.09 kB / 449.1 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.07934, allocations: 4 kB / 449.1 MB, free: 9.691 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.07939, allocations: 338.8 kB / 449.4 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.07951, allocations: 67.91 kB / 449.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.07962, allocations: 71.91 kB / 449.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.07985, allocations: 144.8 kB / 449.7 MB, free: 9.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.07986, allocations: 0 / 449.7 MB, free: 9.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002867/0.08015, allocations: 221.1 kB / 449.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.08017, allocations: 8 kB / 449.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.08018, allocations: 0 / 449.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.08019, allocations: 0 / 449.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.08045, allocations: 55.95 kB / 450 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.08046, allocations: 7.938 kB / 450 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.0806, allocations: 8 kB / 450 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.08063, allocations: 4 kB / 450 MB, free: 8.766 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.02e-05/0.08071, allocations: 141.5 kB / 450.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.08076, allocations: 35.56 kB / 450.2 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.0811, allocations: 221.2 kB / 450.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.08111, allocations: 4 kB / 450.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.08112, allocations: 3.938 kB / 450.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.08113, allocations: 0 / 450.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.08138, allocations: 325.4 kB / 450.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.08139, allocations: 0 / 450.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.08172, allocations: 63.95 kB / 450.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.08173, allocations: 0 / 450.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.868e-05/0.08175, allocations: 7.984 kB / 450.8 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.08176, allocations: 4 kB / 450.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.08177, allocations: 7.875 kB / 450.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.08221, allocations: 392.7 kB / 451.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.08227, allocations: 104.7 kB / 451.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.08231, allocations: 8.062 kB / 451.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.08249, allocations: 11.98 kB / 451.3 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.08255, allocations: 11.92 kB / 451.3 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.08257, allocations: 4 kB / 451.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.08275, allocations: 255 kB / 451.5 MB, free: 7.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08276, allocations: 4 kB / 451.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.083, allocations: 40 kB / 451.6 MB, free: 7.055 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.0005638/0.08357, allocations: 0.9256 MB / 452.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.08384, allocations: 159.9 kB / 452.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.08385, allocations: 0 / 452.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.08397, allocations: 83.91 kB / 452.8 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.08431, allocations: 36.94 kB / 452.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.08659, allocations: 2.046 MB / 454.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.08675, allocations: 0.7677 MB / 455.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.08689, allocations: 91.41 kB / 455.7 MB, free: 2.848 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.0869, allocations: 0 / 455.7 MB, free: 2.848 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.523/2.61, allocations: 3.698 MB / 459.4 MB, free: 15.14 MB / 314.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches