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.001683/0.001683, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002292/0.002292, allocations: 158.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.237/1.237, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 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 178] 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.274e-06/2.274e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.216e-05, allocations: 5.344 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001772/0.001804, allocations: 0.6104 MB / 0.6192 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.004059, allocations: 1.385 MB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.004089, allocations: 7.938 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.524e-05/0.004144, allocations: 0.625 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.004187, allocations: 9.234 kB / 0.6206 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.004907, allocations: 180.7 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.005038, allocations: 47.89 kB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.005079, allocations: 8 kB / 0.6208 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.005153, allocations: 27.97 kB / 0.6208 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.005212, allocations: 19.97 kB / 0.6208 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.005234, allocations: 7.938 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005128/0.005746, allocations: 219.5 kB / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.005801, allocations: 8 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.005847, allocations: 15.92 kB / 0.6211 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.006273, allocations: 227.5 kB / 0.6213 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006275, allocations: 0 / 0.6213 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.81e-07/0.006276, allocations: 0 / 0.6213 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.006281, allocations: 4 kB / 0.6213 GB, free: 1.809 MB / 0.5294 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.0005187/0.006799, allocations: 369.2 kB / 0.6216 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.006845, allocations: 13.47 kB / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.006892, allocations: 8.891 kB / 0.6217 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.007026, allocations: 125.6 kB / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.007042, allocations: 384 / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.007061, allocations: 4.375 kB / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.007293, allocations: 123.8 kB / 0.6219 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.007303, allocations: 192 / 0.6219 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.007319, allocations: 8.375 kB / 0.6219 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.007326, allocations: 3.938 kB / 0.6219 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.007449, allocations: 97.64 kB / 0.622 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.007603, allocations: 113.4 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.007762, allocations: 108.3 kB / 0.6222 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.007879, allocations: 98.53 kB / 0.6223 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.007888, allocations: 0 / 0.6223 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.007922, allocations: 38.5 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.007923, allocations: 0 / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0004656/0.008389, allocations: 314.6 kB / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.008444, allocations: 81.05 kB / 0.6227 GB, free: 148 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.008606, allocations: 144.2 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.008625, allocations: 29.64 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.008685, allocations: 96.12 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.008712, allocations: 19.83 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.008769, allocations: 25.72 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.008936, allocations: 318.8 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.00912, allocations: 167.3 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.009288, allocations: 171.3 kB / 0.6237 GB, free: 15.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.0096, allocations: 281.8 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009602, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004468/0.01005, allocations: 399.6 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.01012, allocations: 67.39 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01013, allocations: 8.047 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01014, allocations: 0 / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-06/0.01015, allocations: 3.938 kB / 0.6244 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.01016, allocations: 7.938 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.01033, allocations: 11.89 kB / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.01035, allocations: 4 kB / 0.6244 GB, free: 14.31 MB / 0.545 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 0.0001439/0.0105, allocations: 156.5 kB / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.01052, allocations: 7.953 kB / 0.6246 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.01054, allocations: 4.344 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01054, allocations: 3.938 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01055, allocations: 7.938 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01055, allocations: 144 / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.01066, allocations: 121.3 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.01067, allocations: 3.984 kB / 0.6247 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.01067, allocations: 0 / 0.6247 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01067, allocations: 4 kB / 0.6247 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01068, allocations: 0 / 0.6247 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01068, allocations: 0 / 0.6247 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01068, allocations: 0 / 0.6247 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.01102, allocations: 260.3 kB / 0.6249 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.01104, allocations: 3.953 kB / 0.6249 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.01106, allocations: 12.02 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.01112, allocations: 8 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.0112, allocations: 15.92 kB / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.0112, allocations: 0 / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.683e-05/0.01129, allocations: 113.4 kB / 0.6251 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01129, allocations: 0 / 0.6251 GB, free: 13.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000339/0.01163, allocations: 63.92 kB / 0.6252 GB, free: 13.45 MB / 0.545 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.0003591/0.01199, allocations: 163 kB / 0.6253 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005015/0.01249, allocations: 419.8 kB / 0.6257 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01249, allocations: 0 / 0.6257 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.01268, allocations: 153 kB / 0.6259 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.01284, allocations: 4 kB / 0.6259 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.01332, allocations: 247 kB / 0.6261 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.374e-05/0.0134, allocations: 75.33 kB / 0.6262 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.583e-06/0.01341, allocations: 0 / 0.6262 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.01342, allocations: 8.5 kB / 0.6262 GB, free: 12.29 MB / 0.545 GB Notification: Performance of SimCode: time 4.7e-07/0.01343, allocations: 4 kB / 0.6262 GB, free: 12.28 MB / 0.545 GB Notification: Performance of Templates: time 0.005939/0.01936, allocations: 2.134 MB / 0.6283 GB, free: 10.16 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.816740669310093] Failed to read output from testmodel.py, exit status != 0: 0.029026225209236145 0.044575949000000004 0.035210823 Calling exit ...