Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001994/0.001994, allocations: 177.2 kB / 7.461 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6001/0.6001, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.164/1.164, allocations: 221.3 MB / 395 MB, free: 10.14 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.000867/0.0008669, allocations: 102 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.925e-06, allocations: 2.719 kB / 0.5529 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 82.29 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.422, allocations: 111.1 MB / 0.7417 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.4222, allocations: 78.64 kB / 0.7418 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.005804/0.428, allocations: 2.049 MB / 0.7438 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.428, allocations: 3.938 kB / 0.7438 GB, free: 10.64 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.0002731/0.4283, allocations: 346.8 kB / 0.7441 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.4284, allocations: 9.031 kB / 0.7441 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.4284, allocations: 11.66 kB / 0.7441 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.4285, allocations: 159.1 kB / 0.7443 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4285, allocations: 1.5 kB / 0.7443 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.4285, allocations: 7.75 kB / 0.7443 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.074e-05/0.4286, allocations: 23.33 kB / 0.7443 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.832e-05/0.4287, allocations: 45.45 kB / 0.7444 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.4287, allocations: 0 / 0.7444 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.4287, allocations: 3.344 kB / 0.7444 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.4287, allocations: 0 / 0.7444 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.4289, allocations: 152.8 kB / 0.7445 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.4289, allocations: 36.97 kB / 0.7445 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.4289, allocations: 24.83 kB / 0.7446 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004098/0.4294, allocations: 0.553 MB / 0.7451 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.4294, allocations: 33.86 kB / 0.7451 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.083e-06/0.4294, allocations: 4 kB / 0.7451 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.001442/0.4308, allocations: 0.8379 MB / 0.746 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.4309, allocations: 59.22 kB / 0.746 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.4309, allocations: 90.69 kB / 0.7461 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.431, allocations: 25.7 kB / 0.7461 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.431, allocations: 83.64 kB / 0.7462 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.431, allocations: 50.19 kB / 0.7462 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.431, allocations: 0 / 0.7462 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.4311, allocations: 316.4 kB / 0.7465 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.4312, allocations: 25.19 kB / 0.7466 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.4312, allocations: 56.75 kB / 0.7466 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.4313, allocations: 35.11 kB / 0.7467 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4313, allocations: 0 / 0.7467 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001678/0.4315, allocations: 108.3 kB / 0.7468 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.4315, allocations: 10.78 kB / 0.7468 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4315, allocations: 6.141 kB / 0.7468 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.4315, allocations: 3.875 kB / 0.7468 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4316, allocations: 27.11 kB / 0.7468 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4317, allocations: 3.844 kB / 0.7468 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.4317, allocations: 0 / 0.7468 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.4317, allocations: 10.94 kB / 0.7468 GB, free: 23.74 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 6.442e-05/0.4318, allocations: 108.8 kB / 0.7469 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.4318, allocations: 5.391 kB / 0.7469 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.4321, allocations: 135.3 kB / 0.7471 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4321, allocations: 3.984 kB / 0.7471 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4321, allocations: 3.969 kB / 0.7471 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4321, allocations: 1.453 kB / 0.7471 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.4325, allocations: 378.5 kB / 0.7474 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4325, allocations: 128 / 0.7474 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.4326, allocations: 31.14 kB / 0.7475 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4326, allocations: 3.844 kB / 0.7475 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4326, allocations: 3.906 kB / 0.7475 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4326, allocations: 3.938 kB / 0.7475 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4327, allocations: 7.875 kB / 0.7475 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002399/0.4329, allocations: 305.4 kB / 0.7478 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.4329, allocations: 85.88 kB / 0.7479 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.433, allocations: 4.438 kB / 0.7479 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.4331, allocations: 5.266 kB / 0.7479 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.4331, allocations: 14.62 kB / 0.7479 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.4331, allocations: 8.5 kB / 0.7479 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.314e-05/0.4331, allocations: 75.28 kB / 0.748 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002386/0.4334, allocations: 36.7 kB / 0.748 GB, free: 22.82 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.0001521/0.4335, allocations: 133.4 kB / 0.7481 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.4337, allocations: 77.31 kB / 0.7482 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4337, allocations: 4.062 kB / 0.7482 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.4337, allocations: 46.72 kB / 0.7482 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.4339, allocations: 3.875 kB / 0.7482 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.4342, allocations: 149.5 kB / 0.7484 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.4344, allocations: 0.7095 MB / 0.7491 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.4345, allocations: 0 / 0.7491 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of Templates: time 0.002666/0.4371, allocations: 1.118 MB / 0.7502 GB, free: 21.76 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)