Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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: translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, 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.001253/0.001253, allocations: 193.7 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7066/0.7066, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 60.77 kB / 0.5018 GB, free: 8.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.167, allocations: 80.21 MB / 0.5801 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001837/0.1689, allocations: 0.5226 MB / 0.5806 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005632/0.1695, allocations: 326.9 kB / 0.5809 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.1695, allocations: 4 kB / 0.5809 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.1695, allocations: 3.938 kB / 0.5809 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.253e-05/0.1696, allocations: 0 / 0.5809 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.17, allocations: 99.69 kB / 0.581 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.739e-05/0.17, allocations: 8 kB / 0.581 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.17, allocations: 7.984 kB / 0.581 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.1701, allocations: 4 kB / 0.581 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.1701, allocations: 11.92 kB / 0.5811 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1701, allocations: 0 / 0.5811 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1704, allocations: 187.8 kB / 0.5812 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.1704, allocations: 3.984 kB / 0.5812 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.1705, allocations: 7.938 kB / 0.5812 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1706, allocations: 79.86 kB / 0.5813 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1706, allocations: 0 / 0.5813 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1706, allocations: 0 / 0.5813 GB, free: 7.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1706, allocations: 0 / 0.5813 GB, free: 7.449 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003141/0.171, allocations: 343.7 kB / 0.5816 GB, free: 7.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.171, allocations: 12.03 kB / 0.5817 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.171, allocations: 0.9375 kB / 0.5817 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1711, allocations: 164.4 kB / 0.5818 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1712, allocations: 8.312 kB / 0.5818 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1712, allocations: 384 / 0.5818 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.676e-05/0.1713, allocations: 37.83 kB / 0.5819 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1713, allocations: 3.938 kB / 0.5819 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1713, allocations: 0 / 0.5819 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1713, allocations: 4 kB / 0.5819 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.1713, allocations: 7.984 kB / 0.5819 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.1715, allocations: 153.7 kB / 0.582 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.1716, allocations: 26.53 kB / 0.582 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.1716, allocations: 8.922 kB / 0.5821 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006052/0.1722, allocations: 0.5856 MB / 0.5826 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1722, allocations: 38.5 kB / 0.5827 GB, free: 5.781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1722, allocations: 0 / 0.5827 GB, free: 5.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004726/0.1727, allocations: 250.5 kB / 0.5829 GB, free: 5.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1728, allocations: 55.41 kB / 0.583 GB, free: 5.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.1728, allocations: 93.86 kB / 0.583 GB, free: 5.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1728, allocations: 25.7 kB / 0.5831 GB, free: 5.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1729, allocations: 92.12 kB / 0.5832 GB, free: 5.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.1729, allocations: 11.75 kB / 0.5832 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.173, allocations: 17.72 kB / 0.5832 GB, free: 5.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.1731, allocations: 310.8 kB / 0.5835 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.1731, allocations: 11.98 kB / 0.5835 GB, free: 4.832 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.1731, allocations: 17.72 kB / 0.5835 GB, free: 4.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.1732, allocations: 29.66 kB / 0.5835 GB, free: 4.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1732, allocations: 0 / 0.5835 GB, free: 4.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.885e-05/0.1733, allocations: 57.56 kB / 0.5836 GB, free: 4.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1733, allocations: 4 kB / 0.5836 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1733, allocations: 4.062 kB / 0.5836 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1733, allocations: 4 kB / 0.5836 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.471e-05/0.1734, allocations: 4 kB / 0.5836 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1734, allocations: 0 / 0.5836 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.1734, allocations: 4 kB / 0.5836 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1734, allocations: 7.984 kB / 0.5836 GB, free: 4.684 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.55e-05/0.1735, allocations: 114.4 kB / 0.5837 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1735, allocations: 7.938 kB / 0.5837 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1736, allocations: 57.12 kB / 0.5838 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1736, allocations: 0 / 0.5838 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1736, allocations: 0 / 0.5838 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1736, allocations: 0 / 0.5838 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1737, allocations: 157.7 kB / 0.5839 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1738, allocations: 3.938 kB / 0.5839 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.1738, allocations: 7.984 kB / 0.584 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1738, allocations: 0 / 0.584 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1738, allocations: 0 / 0.584 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1738, allocations: 0 / 0.584 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1738, allocations: 0 / 0.584 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.174, allocations: 81.12 kB / 0.584 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.174, allocations: 84.95 kB / 0.5841 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.174, allocations: 0 / 0.5841 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.384e-05/0.1741, allocations: 3.984 kB / 0.5841 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.1741, allocations: 7.969 kB / 0.5841 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1741, allocations: 432 / 0.5841 GB, free: 4.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.356e-05/0.1741, allocations: 87.27 kB / 0.5842 GB, free: 3.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1741, allocations: 0 / 0.5842 GB, free: 3.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1744, allocations: 35.98 kB / 0.5842 GB, free: 3.938 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0002018/0.1746, allocations: 123.2 kB / 0.5844 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.059e-05/0.1747, allocations: 19.98 kB / 0.5844 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1747, allocations: 0 / 0.5844 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.622e-05/0.1747, allocations: 7.938 kB / 0.5844 GB, free: 3.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1748, allocations: 15.88 kB / 0.5844 GB, free: 3.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.1751, allocations: 117.6 kB / 0.5845 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.1753, allocations: 0.6768 MB / 0.5852 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.246e-05/0.1753, allocations: 4 kB / 0.5852 GB, free: 2.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.1753, allocations: 7.438 kB / 0.5852 GB, free: 2.914 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1753, allocations: 0 / 0.5852 GB, free: 2.914 MB / 494.1 MB Notification: Performance of Templates: time 0.003199/0.1786, allocations: 1.207 MB / 0.5864 GB, free: 1.715 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)