Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_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.005035/0.005035, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.001235/0.001235, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.837/0.837, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 62.8 kB / 0.5808 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1801, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002536/0.1827, allocations: 1.518 MB / 0.6606 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007069/0.1834, allocations: 446.8 kB / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.1834, allocations: 0 / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.1835, allocations: 7.922 kB / 0.6611 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.1835, allocations: 11.94 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1837, allocations: 27.91 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.809e-05/0.1838, allocations: 43.84 kB / 0.6612 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1839, allocations: 19.98 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1841, allocations: 27.84 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.1841, allocations: 23.92 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1841, allocations: 8 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-06/0.1842, allocations: 0 / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.1842, allocations: 15.92 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.1842, allocations: 15.88 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1843, allocations: 48.08 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1843, allocations: 0 / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1844, allocations: 4 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1844, allocations: 0 / 0.6613 GB, free: 11.82 MB / 0.4981 GB 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.000526/0.1849, allocations: 359.3 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1849, allocations: 8.031 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.185, allocations: 38.75 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.185, allocations: 8.875 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1852, allocations: 176.2 kB / 0.6619 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1852, allocations: 8.312 kB / 0.6619 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.1852, allocations: 384 / 0.6619 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1854, allocations: 69.8 kB / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1854, allocations: 0 / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1854, allocations: 0 / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1854, allocations: 4 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.1856, allocations: 43.95 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.1861, allocations: 296.7 kB / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1864, allocations: 62.55 kB / 0.6623 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.1865, allocations: 24.91 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1866, allocations: 0 / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1866, allocations: 34.5 kB / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1866, allocations: 0 / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003809/0.187, allocations: 93.59 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.187, allocations: 55.41 kB / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.1871, allocations: 119.6 kB / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1872, allocations: 25.7 kB / 0.6627 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.1872, allocations: 92.12 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.1872, allocations: 11.91 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.1873, allocations: 13.72 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1874, allocations: 322.8 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.1875, allocations: 19.98 kB / 0.6631 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.1876, allocations: 15.98 kB / 0.6631 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1878, allocations: 44.77 kB / 0.6632 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1878, allocations: 0 / 0.6632 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002092/0.188, allocations: 65.67 kB / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.188, allocations: 8 kB / 0.6632 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.188, allocations: 0 / 0.6632 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.188, allocations: 4 kB / 0.6632 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.1881, allocations: 7.984 kB / 0.6633 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1881, allocations: 4 kB / 0.6633 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.1882, allocations: 7.891 kB / 0.6633 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1882, allocations: 16.2 kB / 0.6633 GB, free: 9.57 MB / 0.4981 GB 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 7.604e-05/0.1883, allocations: 109.8 kB / 0.6634 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1883, allocations: 4 kB / 0.6634 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.1884, allocations: 7.906 kB / 0.6634 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1884, allocations: 15.92 kB / 0.6634 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1884, allocations: 0 / 0.6634 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1884, allocations: 0 / 0.6634 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.1886, allocations: 173.6 kB / 0.6636 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1886, allocations: 3.938 kB / 0.6636 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/0.1887, allocations: 8 kB / 0.6636 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1887, allocations: 0 / 0.6636 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1887, allocations: 7.984 kB / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1887, allocations: 0 / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1887, allocations: 0 / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.189, allocations: 171.4 kB / 0.6638 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.189, allocations: 85.05 kB / 0.6638 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1891, allocations: 4 kB / 0.6638 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.1891, allocations: 0 / 0.6638 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.1892, allocations: 4 kB / 0.6639 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1892, allocations: 3.984 kB / 0.6639 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.1893, allocations: 107.2 kB / 0.664 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1893, allocations: 0 / 0.664 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002112/0.1895, allocations: 4 kB / 0.664 GB, free: 8.77 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.0005556/0.19, allocations: 0.6908 MB / 0.6646 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1903, allocations: 47.95 kB / 0.6647 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1903, allocations: 0 / 0.6647 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.324e-05/0.1904, allocations: 23.92 kB / 0.6647 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.1907, allocations: 9.875 kB / 0.6647 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1923, allocations: 1.346 MB / 0.666 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1926, allocations: 0.6846 MB / 0.6667 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.1926, allocations: 7.938 kB / 0.6667 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.1927, allocations: 19.42 kB / 0.6667 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1927, allocations: 0 / 0.6667 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.2139, allocations: 1.495 MB / 0.6682 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.09, allocations: 19.59 kB / 0.6682 GB, free: 4.422 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)