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.001207/0.001207, allocations: 106.9 kB / 16.41 MB, free: 5.973 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.001272/0.001272, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7931/0.7931, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.45 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1646, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002057/0.1667, allocations: 0.5249 MB / 0.6658 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006675/0.1674, allocations: 325.9 kB / 0.6661 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.1675, allocations: 0 / 0.6661 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.1675, allocations: 3.938 kB / 0.6661 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.593e-05/0.1675, allocations: 0 / 0.6661 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.168, allocations: 103.7 kB / 0.6662 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.276e-05/0.168, allocations: 8 kB / 0.6662 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.1681, allocations: 0 / 0.6662 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.1681, allocations: 11.92 kB / 0.6662 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.1682, allocations: 11.98 kB / 0.6663 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1682, allocations: 0 / 0.6663 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.1685, allocations: 179.8 kB / 0.6664 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.1685, allocations: 4 kB / 0.6664 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.1686, allocations: 7.938 kB / 0.6664 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1687, allocations: 87.72 kB / 0.6665 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1687, allocations: 3.984 kB / 0.6665 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1688, allocations: 4 kB / 0.6665 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1688, allocations: 0 / 0.6665 GB, free: 4.551 MB / 0.4981 GB 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.0003924/0.1692, allocations: 343.4 kB / 0.6669 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1692, allocations: 9.109 kB / 0.6669 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.1693, allocations: 4.938 kB / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1694, allocations: 160.4 kB / 0.667 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1694, allocations: 384 / 0.667 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1694, allocations: 4.281 kB / 0.667 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1695, allocations: 53.56 kB / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1696, allocations: 0 / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1696, allocations: 0 / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1696, allocations: 0 / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.1696, allocations: 8 kB / 0.6671 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.1698, allocations: 149.7 kB / 0.6672 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.1699, allocations: 22.61 kB / 0.6673 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.1699, allocations: 4.859 kB / 0.6673 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006654/0.1706, allocations: 0.5895 MB / 0.6678 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1706, allocations: 30.56 kB / 0.6679 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1706, allocations: 0 / 0.6679 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005253/0.1711, allocations: 258.4 kB / 0.6681 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.1712, allocations: 51.41 kB / 0.6682 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.1713, allocations: 97.84 kB / 0.6683 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1713, allocations: 25.7 kB / 0.6683 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.1713, allocations: 84.14 kB / 0.6684 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.1713, allocations: 7.812 kB / 0.6684 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1714, allocations: 21.92 kB / 0.6684 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1715, allocations: 322.8 kB / 0.6687 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.1715, allocations: 4 kB / 0.6687 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.1716, allocations: 17.72 kB / 0.6687 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.1716, allocations: 29.64 kB / 0.6687 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1716, allocations: 0 / 0.6687 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.393e-05/0.1717, allocations: 53.64 kB / 0.6688 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1717, allocations: 8 kB / 0.6688 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1718, allocations: 3.984 kB / 0.6688 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1718, allocations: 0 / 0.6688 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.1718, allocations: 11.94 kB / 0.6688 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.1719, allocations: 0 / 0.6688 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.1719, allocations: 0 / 0.6688 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1719, allocations: 4 kB / 0.6688 GB, free: 1.801 MB / 0.4981 GB 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.7e-05/0.172, allocations: 115.1 kB / 0.6689 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.172, allocations: 11.94 kB / 0.6689 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1721, allocations: 57.17 kB / 0.669 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1721, allocations: 0 / 0.669 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1721, allocations: 0 / 0.669 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1721, allocations: 0 / 0.669 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.1723, allocations: 161.5 kB / 0.6691 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1723, allocations: 0 / 0.6691 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.1723, allocations: 4 kB / 0.6692 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1723, allocations: 4 kB / 0.6692 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1724, allocations: 0 / 0.6692 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1724, allocations: 4 kB / 0.6692 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1724, allocations: 0 / 0.6692 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.1725, allocations: 84.95 kB / 0.6692 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.1726, allocations: 81.14 kB / 0.6693 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1726, allocations: 0 / 0.6693 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.183e-05/0.1726, allocations: 0 / 0.6693 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.1726, allocations: 4 kB / 0.6693 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.1726, allocations: 8 kB / 0.6693 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.1727, allocations: 83.33 kB / 0.6694 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.553e-06/0.1727, allocations: 0 / 0.6694 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002276/0.1729, allocations: 31.94 kB / 0.6694 GB, free: 1.055 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.000226/0.1732, allocations: 135.2 kB / 0.6696 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.281e-05/0.1733, allocations: 8.562 kB / 0.6696 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1733, allocations: 4 kB / 0.6696 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.1733, allocations: 11.98 kB / 0.6696 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1735, allocations: 12.06 kB / 0.6696 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.1738, allocations: 135.1 kB / 0.6697 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1741, allocations: 0.6806 MB / 0.6704 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.1741, allocations: 11.44 kB / 0.6704 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1741, allocations: 0 / 0.6704 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of Templates: time 0.00269/0.1768, allocations: 0.835 MB / 0.6712 GB, free: 15.16 MB / 0.5137 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)