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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, 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-master/package.mo): time 0.7722/0.7722, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.522/1.522, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.0008073/0.0008075, allocations: 101.4 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.867e-05, allocations: 5.281 kB / 0.5601 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 82.31 MB / 0.6404 GB, free: 7.816 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6591/0.8304, allocations: 111.8 MB / 0.7496 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.8308, allocations: 81.39 kB / 0.7497 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007148/0.838, allocations: 2.377 MB / 0.752 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.838, allocations: 0 / 0.752 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.838, allocations: 3.969 kB / 0.752 GB, free: 27.47 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004/0.8385, allocations: 347.9 kB / 0.7523 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.8385, allocations: 11.56 kB / 0.7524 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.8386, allocations: 3.906 kB / 0.7524 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.8387, allocations: 174.8 kB / 0.7525 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.8387, allocations: 3.938 kB / 0.7525 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.8388, allocations: 7.781 kB / 0.7525 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.8389, allocations: 51.11 kB / 0.7526 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.8389, allocations: 1.188 kB / 0.7526 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.839, allocations: 0 / 0.7526 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.839, allocations: 3.969 kB / 0.7526 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.8391, allocations: 19.25 kB / 0.7526 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.8392, allocations: 171.6 kB / 0.7528 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.8394, allocations: 67.44 kB / 0.7528 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.8394, allocations: 27.83 kB / 0.7529 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/0.8399, allocations: 0.5524 MB / 0.7534 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.84, allocations: 33.75 kB / 0.7534 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 2.886e-06/0.84, allocations: 4 kB / 0.7534 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.01422/0.8542, allocations: 3.635 MB / 0.757 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.8543, allocations: 51.41 kB / 0.757 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.8544, allocations: 92.61 kB / 0.7571 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/0.8545, allocations: 29.39 kB / 0.7572 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.8545, allocations: 80.14 kB / 0.7572 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.212e-05/0.8546, allocations: 58.72 kB / 0.7573 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.8547, allocations: 3.25 kB / 0.7573 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8548, allocations: 316.7 kB / 0.7576 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.8552, allocations: 302 kB / 0.7579 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.8557, allocations: 303 kB / 0.7582 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/0.8563, allocations: 363.9 kB / 0.7585 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.8563, allocations: 0 / 0.7585 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00128/0.8576, allocations: 0.7675 MB / 0.7593 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.8576, allocations: 3.844 kB / 0.7593 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8576, allocations: 0 / 0.7593 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8577, allocations: 3.938 kB / 0.7593 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/0.8585, allocations: 93.22 kB / 0.7594 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.8585, allocations: 0 / 0.7594 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.859, allocations: 15.44 kB / 0.7594 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.8591, allocations: 40.16 kB / 0.7594 GB, free: 24.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001802/0.8593, allocations: 118.4 kB / 0.7595 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.8594, allocations: 10 kB / 0.7595 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.8624, allocations: 1.365 MB / 0.7609 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.8625, allocations: 3.844 kB / 0.7609 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8625, allocations: 0 / 0.7609 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.8625, allocations: 7.188 kB / 0.7609 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.8651, allocations: 1.771 MB / 0.7626 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8651, allocations: 0.8125 kB / 0.7626 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.8659, allocations: 115.1 kB / 0.7627 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.8659, allocations: 0 / 0.7627 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/0.8659, allocations: 32.64 kB / 0.7628 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.866, allocations: 4.031 kB / 0.7628 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.866, allocations: 3.938 kB / 0.7628 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.868, allocations: 1.437 MB / 0.7642 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.868, allocations: 100.7 kB / 0.7643 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.8681, allocations: 7.109 kB / 0.7643 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.8686, allocations: 15.44 kB / 0.7643 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.8688, allocations: 45.91 kB / 0.7643 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.8688, allocations: 23.34 kB / 0.7644 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.8689, allocations: 82.75 kB / 0.7644 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8689, allocations: 0 / 0.7644 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005791/0.8695, allocations: 204.3 kB / 0.7646 GB, free: 23.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 40 * 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.0004957/0.87, allocations: 250.1 kB / 0.7649 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.871, allocations: 0.7077 MB / 0.7656 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.871, allocations: 0 / 0.7656 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.8715, allocations: 441.6 kB / 0.766 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.8717, allocations: 3.562 kB / 0.766 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.8748, allocations: 0.7343 MB / 0.7667 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.8751, allocations: 0.7242 MB / 0.7674 GB, free: 22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001311/0.8764, allocations: 289.4 kB / 0.7677 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.8769, allocations: 98.41 kB / 0.7678 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of SimCode: time 7.81e-07/0.877, allocations: 0 / 0.7678 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.01404/0.891, allocations: 10.08 MB / 0.7776 GB, free: 14.05 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)