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.001446/0.001446, 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.001637/0.001637, allocations: 192 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 60.48 kB / 0.5019 GB, free: 8.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1742, allocations: 80.21 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002854/0.1771, allocations: 1.527 MB / 0.5817 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007129/0.1778, allocations: 444.5 kB / 0.5821 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.1779, allocations: 0 / 0.5821 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.1779, allocations: 7.922 kB / 0.5821 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.178, allocations: 3.938 kB / 0.5821 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.1782, allocations: 27.92 kB / 0.5821 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.54e-05/0.1783, allocations: 39.86 kB / 0.5822 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1784, allocations: 27.97 kB / 0.5822 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1785, allocations: 19.92 kB / 0.5822 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.1786, allocations: 19.86 kB / 0.5822 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1786, allocations: 4 kB / 0.5822 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.1786, allocations: 4 kB / 0.5822 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.1786, allocations: 11.98 kB / 0.5823 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.1787, allocations: 23.86 kB / 0.5823 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.717e-05/0.1788, allocations: 39.83 kB / 0.5823 GB, free: 6.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1788, allocations: 0 / 0.5823 GB, free: 6.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1788, allocations: 4 kB / 0.5823 GB, free: 6.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1788, allocations: 0 / 0.5823 GB, free: 6.484 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.0005119/0.1793, allocations: 367.5 kB / 0.5827 GB, free: 6.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1794, allocations: 8.031 kB / 0.5827 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.1794, allocations: 34.75 kB / 0.5827 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.1795, allocations: 8.844 kB / 0.5827 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1796, allocations: 172.3 kB / 0.5829 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.1796, allocations: 384 / 0.5829 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1797, allocations: 4.375 kB / 0.5829 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.1798, allocations: 69.78 kB / 0.583 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1799, allocations: 0 / 0.583 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1799, allocations: 8 kB / 0.583 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1799, allocations: 0 / 0.583 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.1801, allocations: 39.97 kB / 0.583 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.1805, allocations: 304.6 kB / 0.5833 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.1808, allocations: 58.55 kB / 0.5834 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.1809, allocations: 24.91 kB / 0.5834 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.181, allocations: 0 / 0.5834 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.181, allocations: 34.56 kB / 0.5834 GB, free: 5.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.181, allocations: 0 / 0.5834 GB, free: 5.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003812/0.1814, allocations: 93.48 kB / 0.5835 GB, free: 5.105 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.1814, allocations: 51.41 kB / 0.5835 GB, free: 5.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.1815, allocations: 121.8 kB / 0.5837 GB, free: 4.914 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.1816, allocations: 25.7 kB / 0.5837 GB, free: 4.883 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.1816, allocations: 92.14 kB / 0.5838 GB, free: 4.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1816, allocations: 15.83 kB / 0.5838 GB, free: 4.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.1817, allocations: 17.72 kB / 0.5838 GB, free: 4.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1818, allocations: 318.8 kB / 0.5841 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.1819, allocations: 12 kB / 0.5841 GB, free: 4.418 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.182, allocations: 20.17 kB / 0.5841 GB, free: 4.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1822, allocations: 48.84 kB / 0.5842 GB, free: 4.348 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1822, allocations: 4 kB / 0.5842 GB, free: 4.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001998/0.1824, allocations: 69.56 kB / 0.5843 GB, free: 4.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1824, allocations: 4 kB / 0.5843 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1824, allocations: 0 / 0.5843 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1824, allocations: 4 kB / 0.5843 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.1825, allocations: 11.98 kB / 0.5843 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1825, allocations: 0 / 0.5843 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.1826, allocations: 4 kB / 0.5843 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1826, allocations: 15.94 kB / 0.5843 GB, free: 4.23 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 6.854e-05/0.1827, allocations: 105.8 kB / 0.5844 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1827, allocations: 7.906 kB / 0.5844 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.1827, allocations: 11.89 kB / 0.5844 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1827, allocations: 0 / 0.5844 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1828, allocations: 0 / 0.5844 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1828, allocations: 4 kB / 0.5844 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.1829, allocations: 169.6 kB / 0.5846 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1829, allocations: 3.938 kB / 0.5846 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.183, allocations: 15.98 kB / 0.5846 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.183, allocations: 0 / 0.5846 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.183, allocations: 0 / 0.5846 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.183, allocations: 0 / 0.5846 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.183, allocations: 0 / 0.5846 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1833, allocations: 175.4 kB / 0.5848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.1833, allocations: 77.11 kB / 0.5848 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1834, allocations: 4 kB / 0.5848 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.1835, allocations: 7.984 kB / 0.5849 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.1835, allocations: 0 / 0.5849 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1835, allocations: 4 kB / 0.5849 GB, free: 3.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.223e-05/0.1836, allocations: 102.9 kB / 0.585 GB, free: 3.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1836, allocations: 0 / 0.585 GB, free: 3.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.1838, allocations: 15.94 kB / 0.585 GB, free: 3.449 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.0005514/0.1844, allocations: 0.7006 MB / 0.5857 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1846, allocations: 39.97 kB / 0.5857 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1846, allocations: 0 / 0.5857 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.1847, allocations: 27.91 kB / 0.5857 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.185, allocations: 8 kB / 0.5857 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1865, allocations: 1.343 MB / 0.587 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1868, allocations: 0.6807 MB / 0.5877 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.186e-05/0.1868, allocations: 7.984 kB / 0.5877 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.1868, allocations: 19.42 kB / 0.5877 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1869, allocations: 0 / 0.5877 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.2053, allocations: 1.456 MB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.652, allocations: 10.42 kB / 0.5892 GB, free: 15.11 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)