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.0007974/0.0007975, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0008416/0.0008416, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9478/0.9478, allocations: 135.3 MB / 426.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 8 kB / 0.5071 GB, free: 5.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 82.32 MB / 0.5875 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.001692/0.1539, allocations: 1.225 MB / 0.5887 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007247/0.1547, allocations: 399.4 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.1548, allocations: 0 / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.1548, allocations: 3.938 kB / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.1549, allocations: 11.94 kB / 0.5891 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.1551, allocations: 15.98 kB / 0.5891 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.248e-05/0.1552, allocations: 43.84 kB / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.1553, allocations: 11.98 kB / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1554, allocations: 15.92 kB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.1554, allocations: 19.86 kB / 0.5892 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1555, allocations: 4 kB / 0.5892 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.1555, allocations: 4 kB / 0.5892 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.1555, allocations: 3.984 kB / 0.5892 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.1555, allocations: 37.64 kB / 0.5892 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.312e-05/0.1556, allocations: 23.95 kB / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1556, allocations: 0 / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1556, allocations: 0 / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1556, allocations: 0 / 0.5892 GB, free: 1.094 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.0004902/0.1561, allocations: 371.4 kB / 0.5896 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1562, allocations: 8.031 kB / 0.5896 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.1562, allocations: 30.56 kB / 0.5896 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.1563, allocations: 4 kB / 0.5896 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1564, allocations: 178.9 kB / 0.5898 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1564, allocations: 4 kB / 0.5898 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1564, allocations: 7.938 kB / 0.5898 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1566, allocations: 61.67 kB / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1567, allocations: 4 kB / 0.5899 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1567, allocations: 3.984 kB / 0.5899 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1567, allocations: 4 kB / 0.5899 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.1569, allocations: 47.97 kB / 0.5899 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1573, allocations: 300.7 kB / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1576, allocations: 70.53 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.1577, allocations: 32.91 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1577, allocations: 0 / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.1578, allocations: 30.56 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1578, allocations: 0 / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003459/0.1581, allocations: 109.5 kB / 0.5904 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.1582, allocations: 51.41 kB / 0.5905 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.1583, allocations: 127.5 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1583, allocations: 25.7 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.1583, allocations: 92.05 kB / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1583, allocations: 15.83 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1584, allocations: 4 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1585, allocations: 314.8 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.1586, allocations: 15.98 kB / 0.5911 GB, free: 15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.1586, allocations: 23.98 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.1587, allocations: 23.98 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1587, allocations: 0 / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002119/0.159, allocations: 85.52 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.159, allocations: 8 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.159, allocations: 0 / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.159, allocations: 0 / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.1591, allocations: 15.98 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1591, allocations: 3.953 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.1592, allocations: 7.984 kB / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.1592, allocations: 4 kB / 0.5912 GB, free: 14.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.626e-05/0.1593, allocations: 113.8 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1593, allocations: 4 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.1593, allocations: 3.906 kB / 0.5913 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1593, allocations: 8 kB / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1594, allocations: 0 / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1594, allocations: 7.938 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1595, allocations: 165.7 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1595, allocations: 0 / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.1596, allocations: 15.98 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1596, allocations: 4 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1596, allocations: 0 / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1597, allocations: 0 / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1597, allocations: 0 / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1599, allocations: 183.6 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.16, allocations: 85.02 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.16, allocations: 48 / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.1601, allocations: 11.98 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1601, allocations: 3.984 kB / 0.5918 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1601, allocations: 4 kB / 0.5918 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.1602, allocations: 99.2 kB / 0.5919 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1602, allocations: 0 / 0.5919 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.1604, allocations: 11.94 kB / 0.5919 GB, free: 14.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004615/0.1609, allocations: 0.7124 MB / 0.5926 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1611, allocations: 43.97 kB / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1611, allocations: 0 / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.975e-05/0.1612, allocations: 23.98 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1615, allocations: 8 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008785/0.1624, allocations: 0.5058 MB / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1626, allocations: 0.6819 MB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.1626, allocations: 7.984 kB / 0.5938 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1627, allocations: 11.44 kB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1627, allocations: 4 kB / 0.5939 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.1737, allocations: 1.25 MB / 0.5951 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.1739, allocations: 187.9 kB / 0.5953 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/1.753, allocations: 3.375 kB / 0.5953 GB, free: 10.59 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/linux/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) Environment - environmentSimulation: