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.001549/0.001549, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001581/0.001581, allocations: 194.1 kB / 16.26 MB, free: 6.621 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9825/0.9825, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 60.19 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1802, allocations: 81.03 MB / 0.5845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001867/0.1821, allocations: 0.5975 MB / 0.5851 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000658/0.1828, allocations: 320.7 kB / 0.5854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.1828, allocations: 0 / 0.5854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.1829, allocations: 0 / 0.5854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/0.1829, allocations: 3.938 kB / 0.5854 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.1833, allocations: 95.69 kB / 0.5855 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.839e-05/0.1833, allocations: 8 kB / 0.5855 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.1834, allocations: 4 kB / 0.5855 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.081e-05/0.1834, allocations: 3.938 kB / 0.5855 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.1835, allocations: 11.97 kB / 0.5855 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1835, allocations: 0 / 0.5855 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.1838, allocations: 183.8 kB / 0.5857 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.1838, allocations: 4 kB / 0.5857 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.1839, allocations: 7.938 kB / 0.5857 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.184, allocations: 83.84 kB / 0.5858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.184, allocations: 0 / 0.5858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.184, allocations: 0 / 0.5858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1841, allocations: 0 / 0.5858 GB, free: 3.016 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.0003844/0.1844, allocations: 339.7 kB / 0.5861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1845, allocations: 12.03 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.1845, allocations: 4.875 kB / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1847, allocations: 164.4 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1847, allocations: 4.375 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1847, allocations: 384 / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1848, allocations: 45.75 kB / 0.5863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1848, allocations: 0 / 0.5863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1849, allocations: 0 / 0.5863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1849, allocations: 0 / 0.5863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.1849, allocations: 7.938 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.1851, allocations: 153.7 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.103e-05/0.1852, allocations: 22.61 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.1852, allocations: 16.91 kB / 0.5865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/0.1858, allocations: 0.5739 MB / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1859, allocations: 46.48 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.1859, allocations: 4 kB / 0.5871 GB, free: 1.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005355/0.1864, allocations: 246.3 kB / 0.5874 GB, free: 1.055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1865, allocations: 51.41 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.1866, allocations: 101.9 kB / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1866, allocations: 25.7 kB / 0.5875 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.1866, allocations: 84.14 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1867, allocations: 12.11 kB / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.1867, allocations: 17.72 kB / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1869, allocations: 314.8 kB / 0.5879 GB, free: 424 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.1869, allocations: 4 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.1869, allocations: 17.7 kB / 0.588 GB, free: 396 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.179e-05/0.187, allocations: 33.66 kB / 0.588 GB, free: 356 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.187, allocations: 4 kB / 0.588 GB, free: 352 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.818e-05/0.1871, allocations: 57.53 kB / 0.588 GB, free: 288 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1871, allocations: 4 kB / 0.5881 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1871, allocations: 0 / 0.5881 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1871, allocations: 7.938 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.1872, allocations: 7.938 kB / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1872, allocations: 0 / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.1872, allocations: 4 kB / 0.5881 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1872, allocations: 0 / 0.5881 GB, free: 264 kB / 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 8.379e-05/0.1873, allocations: 109.9 kB / 0.5882 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.1873, allocations: 11.92 kB / 0.5882 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.1875, allocations: 53.19 kB / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1875, allocations: 0 / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1875, allocations: 0 / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1875, allocations: 0 / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1877, allocations: 165.6 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1877, allocations: 3.938 kB / 0.5884 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.1877, allocations: 4 kB / 0.5884 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1877, allocations: 4 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1877, allocations: 3.984 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1878, allocations: 0 / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1878, allocations: 0 / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.1879, allocations: 77.12 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.188, allocations: 84.95 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.188, allocations: 3.938 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.188, allocations: 4.031 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.188, allocations: 8.047 kB / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.188, allocations: 0 / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.1881, allocations: 79.28 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.863e-06/0.1881, allocations: 0 / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002157/0.1883, allocations: 35.88 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB 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.0002064/0.1885, allocations: 123.2 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.369e-05/0.1886, allocations: 19.98 kB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1886, allocations: 128 / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.1887, allocations: 15.94 kB / 0.5888 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1888, allocations: 3.938 kB / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.1891, allocations: 122.3 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1894, allocations: 0.6807 MB / 0.5896 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.1894, allocations: 3.938 kB / 0.5896 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.1895, allocations: 15.44 kB / 0.5896 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1895, allocations: 0 / 0.5896 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of Templates: time 0.003937/0.1934, allocations: 1.216 MB / 0.5908 GB, free: 13.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)