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.001172/0.001172, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9685/0.9685, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 64.61 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1798, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002768/0.1826, allocations: 1.508 MB / 0.5859 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007104/0.1833, allocations: 444.5 kB / 0.5864 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.1834, allocations: 4 kB / 0.5864 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.1835, allocations: 3.938 kB / 0.5864 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.1835, allocations: 3.938 kB / 0.5864 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1837, allocations: 27.89 kB / 0.5864 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.1838, allocations: 43.86 kB / 0.5864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1839, allocations: 16 kB / 0.5865 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.184, allocations: 27.86 kB / 0.5865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.1841, allocations: 27.83 kB / 0.5865 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1841, allocations: 4 kB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.1841, allocations: 4 kB / 0.5865 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1841, allocations: 4 kB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1842, allocations: 23.86 kB / 0.5866 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.1843, allocations: 47.81 kB / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1843, allocations: 0 / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1843, allocations: 4 kB / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1843, allocations: 0 / 0.5866 GB, free: 2.273 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.0004793/0.1848, allocations: 359.5 kB / 0.5869 GB, free: 1.875 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1848, allocations: 12.03 kB / 0.587 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.1849, allocations: 34.73 kB / 0.587 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.1849, allocations: 8.844 kB / 0.587 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.185, allocations: 168.3 kB / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.185, allocations: 8.359 kB / 0.5872 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.1851, allocations: 4.375 kB / 0.5872 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1853, allocations: 65.8 kB / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1853, allocations: 0 / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1853, allocations: 0 / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1853, allocations: 3.984 kB / 0.5872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1855, allocations: 43.97 kB / 0.5873 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.1859, allocations: 300.6 kB / 0.5876 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.1863, allocations: 58.55 kB / 0.5876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/0.1864, allocations: 20.91 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1864, allocations: 4.078 kB / 0.5876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1864, allocations: 42.55 kB / 0.5877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1864, allocations: 0 / 0.5877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003773/0.1868, allocations: 85.5 kB / 0.5878 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.1868, allocations: 55.41 kB / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.1869, allocations: 117.8 kB / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.187, allocations: 29.7 kB / 0.588 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.187, allocations: 96.11 kB / 0.5881 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.187, allocations: 15.81 kB / 0.5881 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1871, allocations: 13.72 kB / 0.5881 GB, free: 0.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1872, allocations: 322.8 kB / 0.5884 GB, free: 224 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.1873, allocations: 19.92 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.1874, allocations: 15.98 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1876, allocations: 36.83 kB / 0.5885 GB, free: 148 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1876, allocations: 4 kB / 0.5885 GB, free: 144 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002277/0.1878, allocations: 73.61 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1878, allocations: 4 kB / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1878, allocations: 0 / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1879, allocations: 0 / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.1879, allocations: 11.98 kB / 0.5885 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.188, allocations: 0 / 0.5885 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.188, allocations: 4 kB / 0.5885 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.188, allocations: 11.92 kB / 0.5886 GB, free: 32 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.0001038/0.1881, allocations: 113.8 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.1882, allocations: 3.906 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.1882, allocations: 11.91 kB / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1882, allocations: 0 / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1882, allocations: 0 / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1882, allocations: 336 / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1884, allocations: 177.6 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1885, allocations: 4 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.1885, allocations: 11.98 kB / 0.5889 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1886, allocations: 7.922 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1886, allocations: 4 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1886, allocations: 0 / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1886, allocations: 0 / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.1888, allocations: 163.4 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.1889, allocations: 85.09 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1889, allocations: 8 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.189, allocations: 4 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.1891, allocations: 3.984 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1891, allocations: 3.938 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.747e-05/0.1891, allocations: 99.2 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1891, allocations: 0 / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002246/0.1894, allocations: 7.938 kB / 0.5892 GB, free: 15.24 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.000591/0.19, allocations: 0.7045 MB / 0.5899 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.1902, allocations: 43.97 kB / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1902, allocations: 0 / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.1903, allocations: 23.92 kB / 0.59 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1907, allocations: 10.44 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.1924, allocations: 1.338 MB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1927, allocations: 0.6924 MB / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.346e-05/0.1927, allocations: 3.906 kB / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.1928, allocations: 19.44 kB / 0.592 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1928, allocations: 0 / 0.592 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.2122, allocations: 1.465 MB / 0.5934 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.431, allocations: 11.45 kB / 0.5934 GB, free: 10.89 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)