Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 173.3 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.052/1.052, allocations: 177.2 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7927/0.7927, allocations: 154.9 MB / 414.8 MB, free: 400 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 1.094 kB / 0.5207 GB, free: 1.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.699e-05, allocations: 8.203 kB / 0.5208 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.004814/0.004851, allocations: 0.6266 MB / 0.5214 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.006555, allocations: 1.418 MB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.006586, allocations: 4 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.692e-05/0.006653, allocations: 3.938 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.006696, allocations: 0 / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.01036, allocations: 189.3 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.01047, allocations: 44.72 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.01051, allocations: 7.969 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.01056, allocations: 29.39 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.01062, allocations: 15.97 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.01063, allocations: 4 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.01101, allocations: 215.7 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.01106, allocations: 13.08 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.0111, allocations: 15.94 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.01139, allocations: 235.4 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.0114, allocations: 3.625 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.0114, allocations: 3.938 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.0114, allocations: 0 / 0.5235 GB, free: 14.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004201/0.01182, allocations: 463.6 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.01186, allocations: 8.031 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.01192, allocations: 12.89 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.01209, allocations: 122.7 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.0121, allocations: 384 / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.01211, allocations: 4.375 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.01228, allocations: 119.9 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.01229, allocations: 0.6875 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.0123, allocations: 0.9062 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.01231, allocations: 8.438 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.01239, allocations: 85.66 kB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.01251, allocations: 133.6 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.01262, allocations: 112.7 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.0127, allocations: 90.89 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-06/0.01271, allocations: 4 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.01273, allocations: 37.39 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 2.365e-06/0.01273, allocations: 3.984 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.003368/0.0161, allocations: 295.1 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.01615, allocations: 85.73 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.01627, allocations: 205.8 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.01629, allocations: 27.58 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.01634, allocations: 134.9 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.01637, allocations: 15.91 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.01641, allocations: 35.36 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002436/0.01666, allocations: 0.4884 MB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.01678, allocations: 135.9 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01688, allocations: 136.2 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.01709, allocations: 260.6 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01709, allocations: 4 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002829/0.01737, allocations: 333.8 kB / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.01742, allocations: 77.52 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.01743, allocations: 0 / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01744, allocations: 6.031 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.909e-06/0.01745, allocations: 0 / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.01745, allocations: 3.938 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.785e-05/0.01755, allocations: 7.938 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.01757, allocations: 4 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.859e-05/0.01765, allocations: 193 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.01767, allocations: 7.953 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.01769, allocations: 12.34 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01769, allocations: 0 / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.0177, allocations: 7.938 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.0177, allocations: 3.984 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.132e-05/0.01778, allocations: 128.6 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01778, allocations: 1.625 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.01778, allocations: 3.938 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01779, allocations: 0 / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.0178, allocations: 4 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.0178, allocations: 0 / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.0178, allocations: 4.922 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.01804, allocations: 255.7 kB / 0.5274 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.01805, allocations: 8.891 kB / 0.5274 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.01807, allocations: 7.984 kB / 0.5274 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.148e-05/0.01811, allocations: 4 kB / 0.5274 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.01817, allocations: 12.62 kB / 0.5274 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.01818, allocations: 8.656 kB / 0.5275 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.01824, allocations: 147.2 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01824, allocations: 2.844 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002906/0.01853, allocations: 63.88 kB / 0.5277 GB, free: 10.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002443/0.01877, allocations: 155.1 kB / 0.5278 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003332/0.0221, allocations: 387.4 kB / 0.5282 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.0221, allocations: 3.938 kB / 0.5282 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.02222, allocations: 155.9 kB / 0.5283 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.02237, allocations: 11.98 kB / 0.5283 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.02274, allocations: 239.3 kB / 0.5286 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.739e-05/0.02279, allocations: 67.28 kB / 0.5286 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.452e-06/0.0228, allocations: 0 / 0.5286 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.02281, allocations: 8.5 kB / 0.5286 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/0.02282, allocations: 0 / 0.5286 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of Templates: time 0.009914/0.03273, allocations: 2.407 MB / 0.531 GB, free: 6.82 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9023916623555124]