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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6981/0.6981, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.3 MB / 396.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001016, allocations: 90.61 kB / 479 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.125e-05, allocations: 5.219 kB / 0.5551 GB, free: 86.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1602, allocations: 81.58 MB / 0.6348 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.595/0.7553, allocations: 110.8 MB / 0.7429 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.7555, allocations: 83.55 kB / 0.743 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006382/0.7619, allocations: 1.821 MB / 0.7448 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/0.762, allocations: 0 / 0.7448 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.762, allocations: 0 / 0.7448 GB, free: 27.8 MB / 0.5105 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.0002695/0.7623, allocations: 336 kB / 0.7451 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.7623, allocations: 11.59 kB / 0.7451 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.7624, allocations: 4.469 kB / 0.7451 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.7625, allocations: 170.9 kB / 0.7453 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7625, allocations: 0 / 0.7453 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.7625, allocations: 3.844 kB / 0.7453 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.429e-05/0.7626, allocations: 40.5 kB / 0.7453 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.7626, allocations: 0 / 0.7453 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.7627, allocations: 0 / 0.7453 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.7627, allocations: 2.25 kB / 0.7453 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.7627, allocations: 3.844 kB / 0.7454 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.7629, allocations: 160.2 kB / 0.7455 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.097e-05/0.7629, allocations: 22.39 kB / 0.7455 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.7629, allocations: 16.55 kB / 0.7455 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005542/0.7635, allocations: 0.5781 MB / 0.7461 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.7635, allocations: 34.19 kB / 0.7461 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7635, allocations: 0 / 0.7461 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004727/0.764, allocations: 245.2 kB / 0.7464 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.7641, allocations: 55.09 kB / 0.7464 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.7641, allocations: 92.81 kB / 0.7465 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.7642, allocations: 27.86 kB / 0.7465 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.7642, allocations: 80.14 kB / 0.7466 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.7642, allocations: 15.72 kB / 0.7466 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.7642, allocations: 128 / 0.7466 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7644, allocations: 321.3 kB / 0.7469 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.7644, allocations: 7.75 kB / 0.7469 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.7644, allocations: 13.62 kB / 0.747 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.7644, allocations: 10.66 kB / 0.747 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.7644, allocations: 0 / 0.747 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.218e-05/0.7645, allocations: 49.11 kB / 0.747 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7645, allocations: 10.69 kB / 0.747 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7646, allocations: 3.875 kB / 0.747 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.7646, allocations: 0 / 0.747 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.7646, allocations: 7.75 kB / 0.747 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7646, allocations: 3.812 kB / 0.747 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.7647, allocations: 0 / 0.747 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7647, allocations: 3.938 kB / 0.747 GB, free: 25.36 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.7647, allocations: 114.1 kB / 0.7472 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-06/0.7648, allocations: 3.188 kB / 0.7472 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.7649, allocations: 55.53 kB / 0.7472 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7649, allocations: 3.844 kB / 0.7472 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7649, allocations: 0 / 0.7472 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7649, allocations: 3 kB / 0.7472 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.765, allocations: 164 kB / 0.7474 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.765, allocations: 0 / 0.7474 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.7651, allocations: 9.875 kB / 0.7474 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7651, allocations: 0 / 0.7474 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.7651, allocations: 3.781 kB / 0.7474 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7651, allocations: 7.922 kB / 0.7474 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7651, allocations: 4 kB / 0.7474 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.7652, allocations: 76.95 kB / 0.7475 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.7653, allocations: 81.06 kB / 0.7475 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.7653, allocations: 0 / 0.7475 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.237e-05/0.7653, allocations: 2.906 kB / 0.7475 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.7653, allocations: 3.906 kB / 0.7476 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.7653, allocations: 0 / 0.7476 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.7654, allocations: 83.31 kB / 0.7476 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7654, allocations: 0 / 0.7476 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002432/0.7656, allocations: 41.16 kB / 0.7477 GB, free: 24.75 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000199/0.7659, allocations: 129 kB / 0.7478 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.022e-05/0.7659, allocations: 22.58 kB / 0.7478 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7659, allocations: 0 / 0.7478 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.766, allocations: 3.812 kB / 0.7478 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.61e-05/0.7661, allocations: 9.984 kB / 0.7478 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/0.7662, allocations: 75.41 kB / 0.7479 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.7665, allocations: 0.6855 MB / 0.7486 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.7666, allocations: 7.828 kB / 0.7486 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.292e-05/0.7666, allocations: 7.438 kB / 0.7486 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/0.7666, allocations: 0 / 0.7486 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.002711/0.7693, allocations: 1.062 MB / 0.7496 GB, free: 23.79 MB / 0.5105 GB 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)