Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00112/0.00112, allocations: 101.4 kB / 16.27 MB, free: 5.996 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.001093/0.001093, allocations: 188.6 kB / 17.2 MB, free: 5.605 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8329/0.8329, allocations: 135.1 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3535, allocations: 80.91 MB / 0.585 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001708/0.3553, allocations: 0.5363 MB / 0.5855 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005562/0.3558, allocations: 323.2 kB / 0.5858 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.3559, allocations: 0 / 0.5858 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.3559, allocations: 5.156 kB / 0.5858 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.536e-05/0.3559, allocations: 0 / 0.5858 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.3563, allocations: 96.19 kB / 0.5859 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.078e-05/0.3563, allocations: 10.91 kB / 0.586 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.3564, allocations: 6.328 kB / 0.586 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.3564, allocations: 5.484 kB / 0.586 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.3565, allocations: 7.094 kB / 0.586 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3565, allocations: 0 / 0.586 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.3567, allocations: 191.5 kB / 0.5862 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.3567, allocations: 5.203 kB / 0.5862 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.3568, allocations: 7.031 kB / 0.5862 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.3569, allocations: 76.2 kB / 0.5862 GB, free: 24.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3569, allocations: 4 kB / 0.5862 GB, free: 24.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3569, allocations: 0.75 kB / 0.5862 GB, free: 24.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3569, allocations: 0 / 0.5862 GB, free: 24.48 MB / 446.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.0002566/0.3572, allocations: 338.1 kB / 0.5866 GB, free: 24.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3572, allocations: 10.83 kB / 0.5866 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.3573, allocations: 2.375 kB / 0.5866 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.855e-05/0.3573, allocations: 173.7 kB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3574, allocations: 1 kB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3574, allocations: 6.281 kB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.295e-05/0.3575, allocations: 45.05 kB / 0.5868 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3575, allocations: 0 / 0.5868 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3575, allocations: 4 kB / 0.5868 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3575, allocations: 1.188 kB / 0.5868 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.3575, allocations: 6.797 kB / 0.5868 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.3577, allocations: 148.9 kB / 0.5869 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.317e-05/0.3577, allocations: 32.62 kB / 0.587 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.3577, allocations: 6.453 kB / 0.587 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/0.3582, allocations: 0.5753 MB / 0.5875 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.3582, allocations: 45.22 kB / 0.5876 GB, free: 22.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3582, allocations: 0 / 0.5876 GB, free: 22.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004417/0.3587, allocations: 253.4 kB / 0.5878 GB, free: 22.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.3587, allocations: 54.38 kB / 0.5879 GB, free: 22.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.718e-05/0.3587, allocations: 101.1 kB / 0.588 GB, free: 22.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.3588, allocations: 26.7 kB / 0.588 GB, free: 22.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.654e-05/0.3588, allocations: 80.14 kB / 0.5881 GB, free: 22.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.3588, allocations: 15.5 kB / 0.5881 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.3588, allocations: 12.94 kB / 0.5881 GB, free: 22.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.3589, allocations: 316.7 kB / 0.5884 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.3589, allocations: 7.516 kB / 0.5884 GB, free: 22.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.3589, allocations: 17.59 kB / 0.5884 GB, free: 21.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.359, allocations: 32.09 kB / 0.5885 GB, free: 21.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.359, allocations: 0 / 0.5885 GB, free: 21.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.071e-05/0.3591, allocations: 56.72 kB / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3591, allocations: 5.219 kB / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3591, allocations: 1.5 kB / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3591, allocations: 0 / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.928e-05/0.3592, allocations: 11.19 kB / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3592, allocations: 0 / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.3592, allocations: 5.109 kB / 0.5885 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3592, allocations: 5.406 kB / 0.5885 GB, free: 21.91 MB / 446.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 4.415e-05/0.3592, allocations: 109 kB / 0.5886 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.3593, allocations: 9.438 kB / 0.5887 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.832e-05/0.3594, allocations: 54.69 kB / 0.5887 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3594, allocations: 2.688 kB / 0.5887 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3594, allocations: 0 / 0.5887 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3594, allocations: 1.344 kB / 0.5887 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.849e-05/0.3595, allocations: 153.1 kB / 0.5889 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3595, allocations: 6.219 kB / 0.5889 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.3595, allocations: 11.64 kB / 0.5889 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3595, allocations: 1 kB / 0.5889 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3595, allocations: 8.906 kB / 0.5889 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3595, allocations: 0 / 0.5889 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3595, allocations: 0 / 0.5889 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.3597, allocations: 74.69 kB / 0.589 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.3597, allocations: 86.36 kB / 0.589 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3597, allocations: 5.547 kB / 0.589 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.3597, allocations: 4.562 kB / 0.589 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.3598, allocations: 1.844 kB / 0.589 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3598, allocations: 1.281 kB / 0.5891 GB, free: 21.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.788e-05/0.3598, allocations: 78.56 kB / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3598, allocations: 1.25 kB / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.36, allocations: 30.64 kB / 0.5892 GB, free: 21.27 MB / 446.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.000177/0.3602, allocations: 129.7 kB / 0.5893 GB, free: 21.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.13e-05/0.3603, allocations: 19.58 kB / 0.5893 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3603, allocations: 0 / 0.5893 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.3603, allocations: 5.875 kB / 0.5893 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.3605, allocations: 8.438 kB / 0.5893 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/0.3607, allocations: 140.8 kB / 0.5894 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.879e-05/0.3608, allocations: 0.6751 MB / 0.5901 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.3608, allocations: 9.719 kB / 0.5901 GB, free: 20.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3608, allocations: 1.344 kB / 0.5901 GB, free: 20.3 MB / 446.1 MB Notification: Performance of Templates: time 0.002223/0.363, allocations: 0.8335 MB / 0.5909 GB, free: 19.92 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)