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.001333/0.001333, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001076/0.001076, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.955/0.955, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 62.66 kB / 0.505 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1909, allocations: 80.92 MB / 0.584 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.003325/0.1942, allocations: 1.587 MB / 0.5855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008339/0.1951, allocations: 423 kB / 0.5859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.1952, allocations: 4 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.1952, allocations: 3.938 kB / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.1953, allocations: 7.922 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.1956, allocations: 23.98 kB / 0.586 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1957, allocations: 39.91 kB / 0.586 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1958, allocations: 19.94 kB / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.196, allocations: 31.84 kB / 0.5861 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.196, allocations: 19.86 kB / 0.5861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.196, allocations: 4 kB / 0.5861 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.1961, allocations: 4 kB / 0.5861 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.1961, allocations: 11.98 kB / 0.5861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.1961, allocations: 19.88 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1963, allocations: 43.81 kB / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1963, allocations: 3.984 kB / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1963, allocations: 0 / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1963, allocations: 0 / 0.5862 GB, free: 2.586 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.0006111/0.1969, allocations: 367.5 kB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.197, allocations: 8.031 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.197, allocations: 38.75 kB / 0.5866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.1971, allocations: 8.844 kB / 0.5866 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1972, allocations: 168.4 kB / 0.5867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1973, allocations: 384 / 0.5867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.1973, allocations: 8.312 kB / 0.5867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1975, allocations: 65.8 kB / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1976, allocations: 0 / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1976, allocations: 8 kB / 0.5868 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1976, allocations: 0 / 0.5868 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.1978, allocations: 39.97 kB / 0.5868 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.1984, allocations: 304.6 kB / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.1987, allocations: 62.55 kB / 0.5872 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1988, allocations: 24.91 kB / 0.5872 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1989, allocations: 0 / 0.5872 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1989, allocations: 30.56 kB / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 4.158e-06/0.1989, allocations: 4 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000452/0.1994, allocations: 93.48 kB / 0.5873 GB, free: 1.203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.1994, allocations: 51.41 kB / 0.5874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1995, allocations: 121.8 kB / 0.5875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1996, allocations: 29.7 kB / 0.5875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.1996, allocations: 92.12 kB / 0.5876 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1997, allocations: 7.812 kB / 0.5876 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.1997, allocations: 21.72 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1999, allocations: 318.8 kB / 0.588 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.2, allocations: 15.98 kB / 0.588 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.2001, allocations: 23.92 kB / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2002, allocations: 36.84 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2002, allocations: 3.984 kB / 0.588 GB, free: 456 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000216/0.2005, allocations: 69.61 kB / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2005, allocations: 4 kB / 0.5881 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2005, allocations: 4 kB / 0.5881 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2005, allocations: 336 / 0.5881 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.2006, allocations: 7.984 kB / 0.5881 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2006, allocations: 0 / 0.5881 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.2007, allocations: 8 kB / 0.5881 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2007, allocations: 7.938 kB / 0.5881 GB, free: 348 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 8.244e-05/0.2008, allocations: 113.8 kB / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.2008, allocations: 11.89 kB / 0.5882 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.2009, allocations: 7.906 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2009, allocations: 0 / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2009, allocations: 4 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2009, allocations: 0 / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2011, allocations: 173.6 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2011, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.2012, allocations: 8 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2012, allocations: 0 / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.2012, allocations: 7.984 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2012, allocations: 3.938 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2012, allocations: 4 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.2015, allocations: 171.4 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.2016, allocations: 77.11 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2016, allocations: 3.984 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.2017, allocations: 11.94 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.2017, allocations: 4 kB / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.2017, allocations: 0 / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.2018, allocations: 95.2 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2018, allocations: 0 / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002142/0.202, allocations: 15.94 kB / 0.5888 GB, free: 15.54 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.0005587/0.2026, allocations: 0.7006 MB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.2028, allocations: 43.95 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2028, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.199e-05/0.2029, allocations: 23.92 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.2032, allocations: 9.281 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.2049, allocations: 1.362 MB / 0.5909 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.2052, allocations: 0.6807 MB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.2052, allocations: 11.89 kB / 0.5916 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.2053, allocations: 15.44 kB / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2053, allocations: 0 / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.2166, allocations: 1.364 MB / 0.5929 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.2168, allocations: 196.4 kB / 0.5931 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.008, allocations: 0 / 0.5931 GB, free: 11.08 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)