Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) 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(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",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.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001476/0.001476, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9505/0.9505, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.56 kB / 0.5048 GB, free: 5.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1921, allocations: 80.92 MB / 0.5838 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.003473/0.1957, allocations: 1.583 MB / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.1965, allocations: 427 kB / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.1966, allocations: 0 / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.351e-05/0.1966, allocations: 3.938 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.1967, allocations: 7.984 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.1969, allocations: 31.91 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.197, allocations: 39.86 kB / 0.5858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1971, allocations: 12 kB / 0.5858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1972, allocations: 19.92 kB / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.1973, allocations: 23.91 kB / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1973, allocations: 8 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.1973, allocations: 0 / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.1974, allocations: 15.86 kB / 0.5859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1974, allocations: 23.86 kB / 0.5859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.013e-05/0.1975, allocations: 35.89 kB / 0.586 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1975, allocations: 0 / 0.586 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1975, allocations: 3.938 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1975, allocations: 0 / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005735/0.1981, allocations: 363.6 kB / 0.5863 GB, free: 2.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.599e-05/0.1982, allocations: 8.031 kB / 0.5863 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.1983, allocations: 38.73 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1983, allocations: 8.844 kB / 0.5864 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1985, allocations: 168.4 kB / 0.5865 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.1985, allocations: 4.359 kB / 0.5865 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1985, allocations: 8.375 kB / 0.5865 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.1987, allocations: 65.73 kB / 0.5866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1988, allocations: 0 / 0.5866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1988, allocations: 4 kB / 0.5866 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1988, allocations: 4 kB / 0.5866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.199, allocations: 47.89 kB / 0.5867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.1996, allocations: 292.7 kB / 0.5869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.1999, allocations: 66.48 kB / 0.587 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.933e-05/0.2, allocations: 24.91 kB / 0.587 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2, allocations: 0 / 0.587 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.2001, allocations: 34.55 kB / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.2001, allocations: 0 / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005144/0.2006, allocations: 93.56 kB / 0.5871 GB, free: 1.309 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.2007, allocations: 55.34 kB / 0.5872 GB, free: 1.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2008, allocations: 117.8 kB / 0.5873 GB, free: 1.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2008, allocations: 25.7 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.2009, allocations: 92.12 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.2009, allocations: 11.81 kB / 0.5874 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.2009, allocations: 13.72 kB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.2011, allocations: 322.8 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.2013, allocations: 19.98 kB / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.2013, allocations: 15.98 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2015, allocations: 40.83 kB / 0.5878 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2015, allocations: 0 / 0.5878 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001906/0.2017, allocations: 65.67 kB / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2017, allocations: 4 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2017, allocations: 7.938 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2018, allocations: 4 kB / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.2018, allocations: 7.984 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2019, allocations: 0 / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.2019, allocations: 7.938 kB / 0.5879 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2019, allocations: 11.92 kB / 0.5879 GB, free: 456 kB / 494.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 (3): * Single equations (assignments): 3 * 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.0001354/0.2021, allocations: 109.8 kB / 0.588 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2021, allocations: 7.906 kB / 0.588 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.2021, allocations: 7.906 kB / 0.5881 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2021, allocations: 0 / 0.5881 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.2022, allocations: 336 / 0.5881 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2022, allocations: 7.938 kB / 0.5881 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.2023, allocations: 181.6 kB / 0.5882 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2024, allocations: 0 / 0.5882 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.2024, allocations: 8 kB / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2024, allocations: 11.97 kB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.2025, allocations: 0 / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.2025, allocations: 0 / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2025, allocations: 4 kB / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.2027, allocations: 171.3 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.2028, allocations: 81.09 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2028, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.2029, allocations: 4 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.2029, allocations: 3.984 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.203, allocations: 8 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.081e-05/0.203, allocations: 99.2 kB / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.203, allocations: 0 / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.2033, allocations: 11.94 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0005337/0.2038, allocations: 0.7045 MB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.204, allocations: 35.97 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.204, allocations: 0 / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.2041, allocations: 19.98 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.2044, allocations: 11.94 kB / 0.5894 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.2061, allocations: 1.358 MB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.2064, allocations: 0.6848 MB / 0.5914 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.34e-05/0.2064, allocations: 0 / 0.5914 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.2064, allocations: 15.44 kB / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2065, allocations: 4.188 kB / 0.5914 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.2173, allocations: 1.331 MB / 0.5927 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.2175, allocations: 195.8 kB / 0.5929 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.895, allocations: 0.6562 kB / 0.5929 GB, free: 11.22 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)