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.00125/0.00125, 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.001329/0.00133, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7509/0.7509, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.89 kB / 0.5013 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1628, allocations: 80.2 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002677/0.1655, allocations: 1.591 MB / 0.5812 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.1662, allocations: 427 kB / 0.5816 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.1663, allocations: 0 / 0.5816 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.1663, allocations: 3.938 kB / 0.5816 GB, free: 7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.1664, allocations: 11.94 kB / 0.5816 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1666, allocations: 23.97 kB / 0.5817 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.1666, allocations: 39.92 kB / 0.5817 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.1667, allocations: 19.92 kB / 0.5817 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-05/0.1668, allocations: 23.86 kB / 0.5817 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.1669, allocations: 31.84 kB / 0.5818 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1669, allocations: 8 kB / 0.5818 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.1669, allocations: 4 kB / 0.5818 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.1669, allocations: 7.984 kB / 0.5818 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.167, allocations: 15.88 kB / 0.5818 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.175e-05/0.1671, allocations: 47.81 kB / 0.5819 GB, free: 6.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1671, allocations: 0 / 0.5819 GB, free: 6.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1671, allocations: 0 / 0.5819 GB, free: 6.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1671, allocations: 4 kB / 0.5819 GB, free: 6.766 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.0004739/0.1676, allocations: 363.5 kB / 0.5822 GB, free: 6.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1676, allocations: 8.031 kB / 0.5822 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.1677, allocations: 38.75 kB / 0.5823 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.1677, allocations: 4.844 kB / 0.5823 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1678, allocations: 168.4 kB / 0.5824 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1678, allocations: 4.375 kB / 0.5824 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.1679, allocations: 4.375 kB / 0.5824 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.168, allocations: 69.73 kB / 0.5825 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.168, allocations: 0 / 0.5825 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1681, allocations: 0 / 0.5825 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1681, allocations: 4 kB / 0.5825 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.1682, allocations: 39.97 kB / 0.5825 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.1686, allocations: 292.7 kB / 0.5828 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.169, allocations: 70.47 kB / 0.5829 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.1691, allocations: 24.91 kB / 0.5829 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1691, allocations: 3.984 kB / 0.5829 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.1691, allocations: 30.56 kB / 0.5829 GB, free: 5.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1691, allocations: 0 / 0.5829 GB, free: 5.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003344/0.1694, allocations: 97.5 kB / 0.583 GB, free: 5.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1695, allocations: 55.39 kB / 0.5831 GB, free: 5.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.1696, allocations: 121.8 kB / 0.5832 GB, free: 5.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1696, allocations: 25.7 kB / 0.5832 GB, free: 5.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.1696, allocations: 88.22 kB / 0.5833 GB, free: 5.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1697, allocations: 19.78 kB / 0.5833 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.1697, allocations: 13.72 kB / 0.5833 GB, free: 5.035 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1698, allocations: 318.8 kB / 0.5836 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.1699, allocations: 19.98 kB / 0.5837 GB, free: 4.695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.17, allocations: 19.92 kB / 0.5837 GB, free: 4.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1701, allocations: 40.83 kB / 0.5837 GB, free: 4.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1701, allocations: 0 / 0.5837 GB, free: 4.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001883/0.1703, allocations: 73.59 kB / 0.5838 GB, free: 4.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1704, allocations: 12 kB / 0.5838 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1704, allocations: 0 / 0.5838 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1704, allocations: 0 / 0.5838 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.1705, allocations: 4 kB / 0.5838 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1705, allocations: 7.984 kB / 0.5838 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.1705, allocations: 0 / 0.5838 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1705, allocations: 7.938 kB / 0.5838 GB, free: 4.523 MB / 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 7.06e-05/0.1706, allocations: 109.8 kB / 0.5839 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.1706, allocations: 7.906 kB / 0.5839 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.1707, allocations: 11.89 kB / 0.5839 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1707, allocations: 0 / 0.5839 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1707, allocations: 4 kB / 0.5839 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1707, allocations: 4 kB / 0.584 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1709, allocations: 169.6 kB / 0.5841 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1709, allocations: 0 / 0.5841 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.1709, allocations: 11.98 kB / 0.5841 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.171, allocations: 0 / 0.5841 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.171, allocations: 4 kB / 0.5841 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.171, allocations: 0 / 0.5841 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.171, allocations: 4 kB / 0.5841 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1712, allocations: 175.3 kB / 0.5843 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.1713, allocations: 77.11 kB / 0.5844 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1713, allocations: 4 kB / 0.5844 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.1714, allocations: 7.922 kB / 0.5844 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.1714, allocations: 4 kB / 0.5844 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1714, allocations: 4 kB / 0.5844 GB, free: 3.844 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.38e-05/0.1715, allocations: 103 kB / 0.5845 GB, free: 3.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1715, allocations: 4 kB / 0.5845 GB, free: 3.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1717, allocations: 7.938 kB / 0.5845 GB, free: 3.734 MB / 494.1 MB 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.0004652/0.1721, allocations: 0.7049 MB / 0.5852 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1724, allocations: 40 kB / 0.5852 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1724, allocations: 0 / 0.5852 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.1724, allocations: 19.98 kB / 0.5852 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1727, allocations: 11.98 kB / 0.5853 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1741, allocations: 1.358 MB / 0.5866 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1744, allocations: 0.6845 MB / 0.5873 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.98e-05/0.1744, allocations: 0 / 0.5873 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.1745, allocations: 19.42 kB / 0.5873 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1745, allocations: 4 kB / 0.5873 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07735/0.2518, allocations: 1.367 MB / 0.5886 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/0.2521, allocations: 196.5 kB / 0.5888 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.909, allocations: 0 / 0.5888 GB, free: 15.28 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)