Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [: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.004533/0.004533, allocations: 178.2 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7386/0.7386, allocations: 130.6 MB / 138.5 MB, free: 2.207 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.607/1.607, allocations: 221.4 MB / 391.4 MB, free: 13.03 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.001098/0.001098, allocations: 105 kB / 473.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.138e-05/1.174e-05, allocations: 3.156 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1836, allocations: 81.58 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5666/0.7503, allocations: 110.8 MB / 0.7358 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.7505, allocations: 76.97 kB / 0.7359 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.006506/0.757, allocations: 2.049 MB / 0.7379 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.7571, allocations: 3.844 kB / 0.7379 GB, free: 11.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003838/0.7575, allocations: 344 kB / 0.7382 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.7575, allocations: 11.59 kB / 0.7382 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.7576, allocations: 5.547 kB / 0.7382 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.7577, allocations: 171 kB / 0.7384 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.7577, allocations: 0 / 0.7384 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.7578, allocations: 7.719 kB / 0.7384 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.09e-05/0.7578, allocations: 21.34 kB / 0.7384 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/0.7579, allocations: 45.88 kB / 0.7385 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.758, allocations: 0 / 0.7385 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.758, allocations: 0 / 0.7385 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.758, allocations: 0 / 0.7385 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.7581, allocations: 151.7 kB / 0.7386 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.68e-05/0.7582, allocations: 45.88 kB / 0.7387 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.7583, allocations: 22.95 kB / 0.7387 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/0.7587, allocations: 0.5588 MB / 0.7392 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.7587, allocations: 30.56 kB / 0.7393 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.7587, allocations: 0.8438 kB / 0.7393 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.001704/0.7604, allocations: 0.8454 MB / 0.7401 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.7605, allocations: 55.25 kB / 0.7401 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.468e-05/0.7606, allocations: 90.55 kB / 0.7402 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.7606, allocations: 25.7 kB / 0.7402 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.7606, allocations: 80.14 kB / 0.7403 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.7607, allocations: 53.77 kB / 0.7404 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.7607, allocations: 0 / 0.7404 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7608, allocations: 316.2 kB / 0.7407 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.7608, allocations: 26.22 kB / 0.7407 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.976e-05/0.7609, allocations: 56.41 kB / 0.7408 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.065e-05/0.761, allocations: 31.22 kB / 0.7408 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.761, allocations: 0 / 0.7408 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000181/0.7612, allocations: 112.7 kB / 0.7409 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.7612, allocations: 7.812 kB / 0.7409 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7612, allocations: 0 / 0.7409 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.7612, allocations: 8 kB / 0.7409 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.7614, allocations: 31.75 kB / 0.7409 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.7614, allocations: 7.875 kB / 0.7409 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.7614, allocations: 1.125 kB / 0.7409 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.7615, allocations: 7.688 kB / 0.741 GB, free: 24.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.076e-05/0.7615, allocations: 108.8 kB / 0.7411 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.7616, allocations: 3.875 kB / 0.7411 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.7618, allocations: 129 kB / 0.7412 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7618, allocations: 7.812 kB / 0.7412 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7619, allocations: 2.234 kB / 0.7412 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.7619, allocations: 0 / 0.7412 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.7623, allocations: 378.5 kB / 0.7416 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7623, allocations: 0 / 0.7416 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.7625, allocations: 29.88 kB / 0.7416 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7625, allocations: 4.125 kB / 0.7416 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.7625, allocations: 11.69 kB / 0.7416 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.7625, allocations: 5.156 kB / 0.7416 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7625, allocations: 0 / 0.7416 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002859/0.7628, allocations: 314.7 kB / 0.7419 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.7629, allocations: 84.89 kB / 0.742 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.7629, allocations: 1.594 kB / 0.742 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.763, allocations: 3.875 kB / 0.742 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.763, allocations: 10.92 kB / 0.742 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.763, allocations: 10.88 kB / 0.742 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.142e-05/0.7631, allocations: 75.28 kB / 0.7421 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002779/0.7634, allocations: 35.44 kB / 0.7421 GB, free: 23.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0002168/0.7636, allocations: 132.3 kB / 0.7422 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.7638, allocations: 67.75 kB / 0.7423 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7638, allocations: 3.844 kB / 0.7423 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-05/0.7638, allocations: 47.83 kB / 0.7424 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.764, allocations: 5.422 kB / 0.7424 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.7644, allocations: 149.3 kB / 0.7425 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.7647, allocations: 0.706 MB / 0.7432 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.7647, allocations: 4 kB / 0.7432 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.003114/0.7678, allocations: 1.11 MB / 0.7443 GB, free: 22.36 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)