Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001135/0.001135, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4343/0.4343, allocations: 54.93 MB / 324.3 MB, free: 188 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1488, allocations: 59.59 MB / 454.2 MB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001996/0.1509, allocations: 0.6025 MB / 454.9 MB, free: 16 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2111/0.362, allocations: 339.2 kB / 455.2 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.3621, allocations: 3 kB / 455.2 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.3621, allocations: 0 / 455.2 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.098e-05/0.3622, allocations: 1.219 kB / 455.2 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.3625, allocations: 60.11 kB / 455.2 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.374e-05/0.3626, allocations: 15.33 kB / 455.3 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.3626, allocations: 0 / 455.3 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.93e-05/0.3627, allocations: 9.969 kB / 455.3 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.3627, allocations: 7.328 kB / 455.3 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3627, allocations: 0 / 455.3 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.363, allocations: 191.6 kB / 455.5 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.363, allocations: 4.375 kB / 455.5 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.363, allocations: 3.422 kB / 455.5 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.3632, allocations: 83.45 kB / 455.6 MB, free: 39.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3632, allocations: 0 / 455.6 MB, free: 39.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3632, allocations: 0 / 455.6 MB, free: 39.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3632, allocations: 0 / 455.6 MB, free: 39.32 MB / 382.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.0002935/0.3635, allocations: 341.7 kB / 455.9 MB, free: 38.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3636, allocations: 15 kB / 455.9 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.3636, allocations: 5.031 kB / 455.9 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.3637, allocations: 167 kB / 456.1 MB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.3637, allocations: 384 / 456.1 MB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3638, allocations: 2.719 kB / 456.1 MB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3639, allocations: 34.36 kB / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3639, allocations: 192 / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3639, allocations: 4.438 kB / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3639, allocations: 0 / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.3639, allocations: 7.688 kB / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.3641, allocations: 160.1 kB / 456.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.493e-05/0.3641, allocations: 22.7 kB / 456.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.3642, allocations: 10.3 kB / 456.3 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004831/0.3646, allocations: 0.5827 MB / 456.9 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3647, allocations: 32.34 kB / 456.9 MB, free: 37.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3647, allocations: 0 / 456.9 MB, free: 37.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004632/0.3652, allocations: 258.2 kB / 457.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.3652, allocations: 52.03 kB / 457.2 MB, free: 37.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.3652, allocations: 97.55 kB / 457.3 MB, free: 37.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.3653, allocations: 28.58 kB / 457.3 MB, free: 37.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.3653, allocations: 86.58 kB / 457.4 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.3653, allocations: 13.44 kB / 457.4 MB, free: 37.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.3653, allocations: 20.03 kB / 457.5 MB, free: 37.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.3654, allocations: 314 kB / 457.8 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.3654, allocations: 4.875 kB / 457.8 MB, free: 36.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.3655, allocations: 23.59 kB / 457.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.3655, allocations: 28.67 kB / 457.8 MB, free: 36.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3655, allocations: 0 / 457.8 MB, free: 36.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.586e-05/0.3656, allocations: 54.58 kB / 457.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3656, allocations: 9.5 kB / 457.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3656, allocations: 0 / 457.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3656, allocations: 1.625 kB / 457.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.3657, allocations: 5.781 kB / 457.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3657, allocations: 2.969 kB / 457.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.3657, allocations: 1.031 kB / 457.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3658, allocations: 3.594 kB / 457.9 MB, free: 36.88 MB / 382.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.851e-05/0.3658, allocations: 113.8 kB / 458 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.3658, allocations: 6.719 kB / 458 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.3659, allocations: 53.69 kB / 458.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.366, allocations: 0 / 458.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.366, allocations: 8.344 kB / 458.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.366, allocations: 0 / 458.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.153e-05/0.366, allocations: 160.4 kB / 458.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3661, allocations: 0 / 458.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.3661, allocations: 7 kB / 458.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3661, allocations: 4.438 kB / 458.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3661, allocations: 5 kB / 458.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3661, allocations: 0 / 458.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3661, allocations: 0 / 458.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.3663, allocations: 83.83 kB / 458.3 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.3663, allocations: 77.11 kB / 458.4 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3663, allocations: 8.188 kB / 458.4 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.3663, allocations: 7.719 kB / 458.4 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.3664, allocations: 5.719 kB / 458.4 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3664, allocations: 1 kB / 458.4 MB, free: 36.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.002e-05/0.3664, allocations: 78.81 kB / 458.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3664, allocations: 1.031 kB / 458.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.3667, allocations: 27.73 kB / 458.5 MB, free: 36.29 MB / 382.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.0001875/0.3669, allocations: 128.4 kB / 458.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.3669, allocations: 12.66 kB / 458.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.367, allocations: 2.812 kB / 458.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.367, allocations: 13.14 kB / 458.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.3671, allocations: 0 / 458.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.3674, allocations: 116.8 kB / 458.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.3675, allocations: 0.6788 MB / 459.5 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.793e-05/0.3675, allocations: 5.625 kB / 459.5 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.3675, allocations: 10.25 kB / 459.5 MB, free: 35.4 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3675, allocations: 0 / 459.5 MB, free: 35.4 MB / 382.1 MB Notification: Performance of Templates: time 0.003424/0.371, allocations: 1.207 MB / 460.7 MB, free: 35.37 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)