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.008104/0.008104, allocations: 101.6 kB / 15.88 MB, free: 6.332 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.001211/0.001211, allocations: 196.9 kB / 16.79 MB, free: 6.258 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.1 MB / 425.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.94 kB / 0.5053 GB, free: 5.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1997, allocations: 80.92 MB / 0.5843 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001879/0.2016, allocations: 0.5937 MB / 0.5849 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.2023, allocations: 340.7 kB / 0.5853 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.2024, allocations: 0 / 0.5853 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.2024, allocations: 7.875 kB / 0.5853 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.2024, allocations: 0 / 0.5853 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.2028, allocations: 71.84 kB / 0.5853 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.053e-05/0.2028, allocations: 11.92 kB / 0.5853 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.2029, allocations: 0 / 0.5853 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.2029, allocations: 8 kB / 0.5853 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.203, allocations: 0 / 0.5853 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.203, allocations: 4 kB / 0.5854 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.2033, allocations: 187.7 kB / 0.5855 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.2033, allocations: 7.938 kB / 0.5855 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.2033, allocations: 8 kB / 0.5855 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2034, allocations: 47.91 kB / 0.5856 GB, free: 3.668 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2034, allocations: 0 / 0.5856 GB, free: 3.668 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2035, allocations: 0 / 0.5856 GB, free: 3.668 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2035, allocations: 4 kB / 0.5856 GB, free: 3.664 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.0003774/0.2038, allocations: 339.5 kB / 0.5859 GB, free: 3.285 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2039, allocations: 8.031 kB / 0.5859 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.2039, allocations: 4.938 kB / 0.5859 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2041, allocations: 168.5 kB / 0.5861 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2041, allocations: 384 / 0.5861 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.2041, allocations: 12.31 kB / 0.5861 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.2042, allocations: 41.81 kB / 0.5861 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2042, allocations: 0 / 0.5861 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2043, allocations: 0 / 0.5861 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2043, allocations: 0 / 0.5861 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.2043, allocations: 4 kB / 0.5861 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.2045, allocations: 153.7 kB / 0.5863 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.2045, allocations: 26.52 kB / 0.5863 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.2046, allocations: 4.859 kB / 0.5863 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/0.2052, allocations: 0.5818 MB / 0.5869 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.2052, allocations: 38.5 kB / 0.5869 GB, free: 2.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2052, allocations: 0 / 0.5869 GB, free: 2.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005193/0.2058, allocations: 258.3 kB / 0.5872 GB, free: 1.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.2058, allocations: 51.41 kB / 0.5872 GB, free: 1.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.2059, allocations: 97.84 kB / 0.5873 GB, free: 1.535 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2059, allocations: 29.7 kB / 0.5873 GB, free: 1.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2059, allocations: 80.14 kB / 0.5874 GB, free: 1.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.206, allocations: 12.12 kB / 0.5874 GB, free: 1.406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.206, allocations: 21.7 kB / 0.5875 GB, free: 1.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2061, allocations: 310.8 kB / 0.5878 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.2062, allocations: 4 kB / 0.5878 GB, free: 1.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.2062, allocations: 17.72 kB / 0.5878 GB, free: 1.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.2063, allocations: 33.58 kB / 0.5878 GB, free: 1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2063, allocations: 8 kB / 0.5878 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.23e-05/0.2063, allocations: 57.48 kB / 0.5879 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2064, allocations: 6.344 kB / 0.5879 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2064, allocations: 0 / 0.5879 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2064, allocations: 3.984 kB / 0.5879 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.2064, allocations: 8 kB / 0.5879 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2065, allocations: 0 / 0.5879 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.2065, allocations: 3.938 kB / 0.5879 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2065, allocations: 8 kB / 0.5879 GB, free: 0.9023 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 7.679e-05/0.2066, allocations: 109.9 kB / 0.588 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.2066, allocations: 7.938 kB / 0.588 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.2067, allocations: 57.11 kB / 0.5881 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2067, allocations: 0 / 0.5881 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2067, allocations: 0 / 0.5881 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2067, allocations: 0 / 0.5881 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.2069, allocations: 161.7 kB / 0.5882 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.2069, allocations: 3.938 kB / 0.5882 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.2069, allocations: 8 kB / 0.5882 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2069, allocations: 4 kB / 0.5882 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2069, allocations: 0 / 0.5882 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.207, allocations: 0 / 0.5882 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.207, allocations: 0 / 0.5882 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.2071, allocations: 77.14 kB / 0.5883 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.2071, allocations: 88.95 kB / 0.5884 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2072, allocations: 0 / 0.5884 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.2072, allocations: 7.938 kB / 0.5884 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.2072, allocations: 8.062 kB / 0.5884 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.2072, allocations: 0 / 0.5884 GB, free: 280 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.305e-05/0.2073, allocations: 83.27 kB / 0.5885 GB, free: 196 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2073, allocations: 0 / 0.5885 GB, free: 196 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.2075, allocations: 24 kB / 0.5885 GB, free: 172 kB / 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.0002001/0.2077, allocations: 127.2 kB / 0.5886 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.737e-05/0.2078, allocations: 12.52 kB / 0.5886 GB, free: 20 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2078, allocations: 4.125 kB / 0.5886 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.2078, allocations: 15.92 kB / 0.5887 GB, free: 0 / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.208, allocations: 10.05 kB / 0.5887 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.2083, allocations: 141.1 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.2085, allocations: 0.677 MB / 0.5895 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.2085, allocations: 11.44 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2085, allocations: 3.938 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.002194/0.2107, allocations: 0.8222 MB / 0.5903 GB, free: 14.29 MB / 0.4981 GB 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)