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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 112.8 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 47.94 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6595/0.6615, allocations: 49.43 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.009139/0.6707, allocations: 2.073 MB / 402.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.6733, allocations: 0.5535 MB / 402.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000378/0.6737, allocations: 0 / 402.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.674, allocations: 23.67 kB / 402.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007995/0.6749, allocations: 75.42 kB / 403 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.6754, allocations: 55.92 kB / 403 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000785/0.6762, allocations: 267 kB / 403.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.6766, allocations: 48.73 kB / 403.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.6771, allocations: 111.4 kB / 403.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.6775, allocations: 139.3 kB / 403.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.703e-05/0.6777, allocations: 20 kB / 403.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.17e-05/0.6778, allocations: 20 kB / 403.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.6782, allocations: 55.7 kB / 403.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.6785, allocations: 123.1 kB / 403.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007148/0.6792, allocations: 240.7 kB / 404 MB, free: 5.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.6793, allocations: 0 / 404 MB, free: 5.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6793, allocations: 4 kB / 404 MB, free: 5.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.6793, allocations: 0 / 404 MB, free: 5.02 MB / 318.1 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.002369/0.6817, allocations: 0.5877 MB / 404.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.927e-05/0.6818, allocations: 19.88 kB / 404.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.687e-05/0.6819, allocations: 46.69 kB / 404.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.6821, allocations: 28.56 kB / 404.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008114/0.6829, allocations: 308.1 kB / 405 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.6829, allocations: 7.938 kB / 405 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.683, allocations: 19.98 kB / 405 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.6835, allocations: 129.5 kB / 405.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.6835, allocations: 0 / 405.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.6836, allocations: 8 kB / 405.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.6836, allocations: 0 / 405.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.684, allocations: 71.97 kB / 405.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.6856, allocations: 0.5236 MB / 405.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.6866, allocations: 186.6 kB / 406 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.6868, allocations: 60.78 kB / 406 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.6869, allocations: 8 kB / 406 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.687, allocations: 30.56 kB / 406.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.765e-06/0.687, allocations: 0 / 406.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002964/0.69, allocations: 0.6653 MB / 406.7 MB, free: 2.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.69, allocations: 51.41 kB / 406.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007253/0.6908, allocations: 332.6 kB / 407.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.6908, allocations: 29.7 kB / 407.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.691, allocations: 160.2 kB / 407.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.6912, allocations: 59.11 kB / 407.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.6913, allocations: 37.7 kB / 407.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.6916, allocations: 346.8 kB / 407.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.6918, allocations: 59.91 kB / 407.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.6921, allocations: 65.47 kB / 407.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.6926, allocations: 138.9 kB / 408 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.6927, allocations: 0 / 408 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007229/0.6934, allocations: 220.2 kB / 408.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.6934, allocations: 4 kB / 408.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6935, allocations: 4 kB / 408.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.6935, allocations: 4 kB / 408.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.6941, allocations: 63.83 kB / 408.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.6942, allocations: 0 / 408.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.6944, allocations: 8 kB / 408.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.6945, allocations: 4 kB / 408.3 MB, free: 0.5039 MB / 318.1 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.000206/0.6947, allocations: 137.8 kB / 408.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.6948, allocations: 23.72 kB / 408.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006879/0.6955, allocations: 220.6 kB / 408.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.6955, allocations: 7.938 kB / 408.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6956, allocations: 0 / 408.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6956, allocations: 0 / 408.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.6963, allocations: 321.4 kB / 409 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6963, allocations: 0 / 409 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/0.6969, allocations: 63.89 kB / 409 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.697, allocations: 7.938 kB / 409 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.697, allocations: 4 kB / 409 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.697, allocations: 11.92 kB / 409 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6971, allocations: 0 / 409 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009411/0.698, allocations: 385.5 kB / 409.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.6982, allocations: 108.7 kB / 409.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.6983, allocations: 8 kB / 409.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.6986, allocations: 15.92 kB / 409.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.6987, allocations: 15.98 kB / 409.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.6987, allocations: 4 kB / 409.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004382/0.6992, allocations: 251 kB / 409.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6992, allocations: 0 / 409.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.6997, allocations: 40 kB / 409.9 MB, free: 14.81 MB / 334.1 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 0.001228/0.701, allocations: 0.9267 MB / 410.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005712/0.7016, allocations: 159.8 kB / 410.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.7016, allocations: 0 / 410.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.7018, allocations: 90.39 kB / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.7025, allocations: 32.75 kB / 411.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.709, allocations: 3.057 MB / 414.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.7095, allocations: 0.7595 MB / 414.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.7097, allocations: 42.2 kB / 414.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.7099, allocations: 95.41 kB / 415 MB, free: 9.52 MB / 334.1 MB Notification: Performance of SimCode: time 1.523e-06/0.7099, allocations: 0 / 415 MB, free: 9.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.915/6.625, allocations: 5.822 MB / 420.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/25.21, allocations: 7.5 kB / 420.8 MB, free: 3.906 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches