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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002562/0.002562, allocations: 182.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6328/0.6328, allocations: 130.6 MB / 138.5 MB, free: 2.273 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.4 MB / 391.4 MB, free: 13.04 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.001009/0.001009, allocations: 101 kB / 473.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.544e-06, allocations: 1.25 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5846, allocations: 110.1 MB / 0.7351 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5849, allocations: 81.2 kB / 0.7351 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.005783/0.5907, allocations: 1.533 MB / 0.7366 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.5908, allocations: 0 / 0.7366 GB, free: 11.38 MB / 0.4948 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.0003093/0.5911, allocations: 338 kB / 0.7369 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5911, allocations: 7.688 kB / 0.737 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.5912, allocations: 3.906 kB / 0.737 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.5913, allocations: 164.1 kB / 0.7371 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.5913, allocations: 0 / 0.7371 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.5913, allocations: 0.7031 kB / 0.7371 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.285e-05/0.5914, allocations: 10.09 kB / 0.7371 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.506e-05/0.5914, allocations: 39.22 kB / 0.7372 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.5915, allocations: 0 / 0.7372 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5915, allocations: 0 / 0.7372 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.5915, allocations: 4 kB / 0.7372 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.5916, allocations: 136.3 kB / 0.7373 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.695e-05/0.5917, allocations: 18.98 kB / 0.7373 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.5917, allocations: 13.3 kB / 0.7373 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/0.5923, allocations: 0.5782 MB / 0.7379 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.5923, allocations: 30.56 kB / 0.7379 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5923, allocations: 0 / 0.7379 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005303/0.5929, allocations: 245.1 kB / 0.7382 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.5929, allocations: 52.2 kB / 0.7382 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.593, allocations: 93.58 kB / 0.7383 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.593, allocations: 25.7 kB / 0.7383 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.593, allocations: 80.94 kB / 0.7384 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.593, allocations: 15.69 kB / 0.7384 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5931, allocations: 0 / 0.7384 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5932, allocations: 316.5 kB / 0.7387 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.5932, allocations: 3.844 kB / 0.7387 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.5932, allocations: 21.88 kB / 0.7387 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.5933, allocations: 4.547 kB / 0.7387 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-07/0.5933, allocations: 0 / 0.7387 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.646e-05/0.5934, allocations: 51.2 kB / 0.7388 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.5934, allocations: 7.688 kB / 0.7388 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.5934, allocations: 4.062 kB / 0.7388 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.5934, allocations: 0.7969 kB / 0.7388 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.5935, allocations: 12.7 kB / 0.7388 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.5935, allocations: 0 / 0.7388 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.5935, allocations: 0.7969 kB / 0.7388 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.5935, allocations: 0 / 0.7388 GB, free: 24.97 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.601e-05/0.5936, allocations: 104.8 kB / 0.7389 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-06/0.5936, allocations: 4.656 kB / 0.7389 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.5938, allocations: 68.81 kB / 0.739 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5938, allocations: 0.5625 kB / 0.739 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5938, allocations: 0 / 0.739 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5938, allocations: 0.6562 kB / 0.739 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.219e-05/0.5939, allocations: 129.3 kB / 0.7391 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5939, allocations: 1.5 kB / 0.7391 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.5939, allocations: 5.125 kB / 0.7391 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5939, allocations: 7.75 kB / 0.7391 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.594, allocations: 8.625 kB / 0.7391 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.594, allocations: 0 / 0.7391 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.594, allocations: 3.938 kB / 0.7391 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001389/0.5941, allocations: 84.25 kB / 0.7392 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.5942, allocations: 77.11 kB / 0.7393 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.5942, allocations: 0.9375 kB / 0.7393 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.53e-05/0.5942, allocations: 0 / 0.7393 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.5942, allocations: 4.781 kB / 0.7393 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.5943, allocations: 5.797 kB / 0.7393 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.716e-05/0.5943, allocations: 79.09 kB / 0.7394 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002286/0.5945, allocations: 40.17 kB / 0.7394 GB, free: 24.39 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.0001944/0.5947, allocations: 133 kB / 0.7395 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.527e-05/0.5948, allocations: 19.8 kB / 0.7396 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5948, allocations: 0 / 0.7396 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.5948, allocations: 3.844 kB / 0.7396 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.5949, allocations: 7.781 kB / 0.7396 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.5951, allocations: 66.64 kB / 0.7396 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.5954, allocations: 0.6915 MB / 0.7403 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.5954, allocations: 3.938 kB / 0.7403 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.00304/0.5984, allocations: 1.192 MB / 0.7415 GB, free: 23.43 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)