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.001636/0.001636, allocations: 101.7 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.001823/0.001823, allocations: 186.3 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.503/1.503, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.849/0.849, allocations: 132.2 MB / 423.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3591, allocations: 80.19 MB / 0.5807 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001735/0.3609, allocations: 0.5264 MB / 0.5813 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000589/0.3615, allocations: 330.7 kB / 0.5816 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.3615, allocations: 2.375 kB / 0.5816 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.3615, allocations: 0 / 0.5816 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.182e-05/0.3616, allocations: 0 / 0.5816 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.362, allocations: 104.2 kB / 0.5817 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.896e-05/0.362, allocations: 4.594 kB / 0.5817 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.112e-05/0.3621, allocations: 3.656 kB / 0.5817 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.3621, allocations: 10.61 kB / 0.5817 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.713e-05/0.3622, allocations: 9.078 kB / 0.5817 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.3622, allocations: 1.094 kB / 0.5817 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.3624, allocations: 184.1 kB / 0.5819 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.3625, allocations: 4 kB / 0.5819 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.3625, allocations: 11.48 kB / 0.5819 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3626, allocations: 75.45 kB / 0.582 GB, free: 26.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3626, allocations: 1.531 kB / 0.582 GB, free: 26.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3626, allocations: 1.219 kB / 0.582 GB, free: 26.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3626, allocations: 0 / 0.582 GB, free: 26.45 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.000324/0.363, allocations: 340.4 kB / 0.5823 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.363, allocations: 10.25 kB / 0.5823 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.3631, allocations: 2.969 kB / 0.5823 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.3632, allocations: 168.3 kB / 0.5825 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3632, allocations: 3.156 kB / 0.5825 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3632, allocations: 5.688 kB / 0.5825 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.956e-05/0.3633, allocations: 39.98 kB / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3633, allocations: 0 / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3633, allocations: 1.719 kB / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3633, allocations: 0 / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.3634, allocations: 1.719 kB / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.3635, allocations: 155.8 kB / 0.5827 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.67e-05/0.3635, allocations: 32.44 kB / 0.5827 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.3635, allocations: 9.188 kB / 0.5827 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.364, allocations: 0.5798 MB / 0.5833 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.364, allocations: 39.56 kB / 0.5833 GB, free: 24.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3641, allocations: 0 / 0.5833 GB, free: 24.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004417/0.3645, allocations: 254.1 kB / 0.5835 GB, free: 24.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.3645, allocations: 52.19 kB / 0.5836 GB, free: 24.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.27e-05/0.3646, allocations: 105 kB / 0.5837 GB, free: 24.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.3646, allocations: 25.7 kB / 0.5837 GB, free: 24.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.735e-05/0.3646, allocations: 81.58 kB / 0.5838 GB, free: 24.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3646, allocations: 13.11 kB / 0.5838 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.3647, allocations: 16.62 kB / 0.5838 GB, free: 24.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.3647, allocations: 317.1 kB / 0.5841 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.3647, allocations: 11.77 kB / 0.5841 GB, free: 23.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.3648, allocations: 17.19 kB / 0.5842 GB, free: 23.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.949e-05/0.3649, allocations: 32.38 kB / 0.5842 GB, free: 23.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3649, allocations: 0 / 0.5842 GB, free: 23.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.547e-05/0.365, allocations: 62.19 kB / 0.5842 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.365, allocations: 5.781 kB / 0.5843 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.365, allocations: 0 / 0.5843 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.365, allocations: 2.219 kB / 0.5843 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.509e-05/0.3651, allocations: 7.938 kB / 0.5843 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3651, allocations: 0.625 kB / 0.5843 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.3651, allocations: 0.5625 kB / 0.5843 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3651, allocations: 5.406 kB / 0.5843 GB, free: 23.88 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.098e-05/0.3652, allocations: 112.8 kB / 0.5844 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.3652, allocations: 7.344 kB / 0.5844 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.934e-05/0.3653, allocations: 57.97 kB / 0.5844 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3653, allocations: 1.469 kB / 0.5844 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.3653, allocations: 0 / 0.5844 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3653, allocations: 0 / 0.5844 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.153e-05/0.3654, allocations: 156.8 kB / 0.5846 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3654, allocations: 3.938 kB / 0.5846 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.3654, allocations: 8.891 kB / 0.5846 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3655, allocations: 0 / 0.5846 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3655, allocations: 1.562 kB / 0.5846 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3655, allocations: 1.812 kB / 0.5846 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3655, allocations: 0 / 0.5846 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.3656, allocations: 79.66 kB / 0.5847 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.3656, allocations: 82.39 kB / 0.5848 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3656, allocations: 3.781 kB / 0.5848 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.3657, allocations: 3.938 kB / 0.5848 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.3657, allocations: 6.172 kB / 0.5848 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3657, allocations: 1.125 kB / 0.5848 GB, free: 23.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.574e-05/0.3657, allocations: 77.44 kB / 0.5849 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.3657, allocations: 0 / 0.5849 GB, free: 23.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.366, allocations: 32.53 kB / 0.5849 GB, free: 23.23 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.0001594/0.3662, allocations: 124.3 kB / 0.585 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.706e-05/0.3663, allocations: 20.73 kB / 0.585 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3663, allocations: 1.094 kB / 0.585 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.3663, allocations: 10.12 kB / 0.585 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.3664, allocations: 6.031 kB / 0.585 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.3667, allocations: 132.6 kB / 0.5852 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.3668, allocations: 0.6818 MB / 0.5858 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.3668, allocations: 9.812 kB / 0.5858 GB, free: 22.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3668, allocations: 1.969 kB / 0.5858 GB, free: 22.27 MB / 446.1 MB Notification: Performance of Templates: time 0.002237/0.3691, allocations: 0.8413 MB / 0.5867 GB, free: 21.88 MB / 446.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)