Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.001875/0.001875, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001824/0.001824, allocations: 169.9 kB / 22.46 MB, free: 5.363 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.164 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.25/1.25, allocations: 154.6 MB / 413.7 MB, free: 5.293 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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.817e-06/3.817e-06, allocations: 4 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/3.143e-05, allocations: 3.156 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001562/0.001593, allocations: 0.5978 MB / 0.6192 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002652/0.001859, allocations: 51.73 kB / 0.6192 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.001875, allocations: 0 / 0.6192 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.001891, allocations: 0 / 0.6192 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-06/0.001898, allocations: 4 kB / 0.6192 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.00213, allocations: 15.92 kB / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.136e-05/0.002171, allocations: 8 kB / 0.6192 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.002215, allocations: 0 / 0.6192 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.452e-05/0.00224, allocations: 4 kB / 0.6192 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.002259, allocations: 0 / 0.6192 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.002272, allocations: 0 / 0.6192 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-05/0.00237, allocations: 19.97 kB / 0.6193 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.002385, allocations: 7.984 kB / 0.6193 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.254e-05/0.002398, allocations: 0 / 0.6193 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.405e-05/0.002482, allocations: 15.98 kB / 0.6193 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002484, allocations: 0 / 0.6193 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002484, allocations: 4 kB / 0.6193 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.002488, allocations: 0 / 0.6193 GB, free: 3.859 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003275/0.002815, allocations: 242.3 kB / 0.6195 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.002866, allocations: 9.469 kB / 0.6195 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.003163, allocations: 16.91 kB / 0.6195 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.003275, allocations: 113.8 kB / 0.6197 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.003291, allocations: 384 / 0.6197 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.003302, allocations: 4.375 kB / 0.6197 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.003483, allocations: 34.25 kB / 0.6197 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.003498, allocations: 4.172 kB / 0.6197 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.00351, allocations: 384 / 0.6197 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.003517, allocations: 4.312 kB / 0.6197 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.00362, allocations: 15.92 kB / 0.6197 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.003794, allocations: 97.28 kB / 0.6198 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.064e-05/0.003884, allocations: 26.55 kB / 0.6198 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.003948, allocations: 16.91 kB / 0.6198 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.00397, allocations: 0 / 0.6198 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.00401, allocations: 34.56 kB / 0.6199 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.004011, allocations: 0 / 0.6199 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.00027/0.00428, allocations: 45.61 kB / 0.6199 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.004335, allocations: 55.41 kB / 0.62 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.931e-05/0.004384, allocations: 89.86 kB / 0.6201 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.004405, allocations: 25.83 kB / 0.6201 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.004443, allocations: 84.14 kB / 0.6202 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.004473, allocations: 4 kB / 0.6202 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.004507, allocations: 13.72 kB / 0.6202 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.004652, allocations: 314.8 kB / 0.6205 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.004702, allocations: 7.984 kB / 0.6205 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.752e-05/0.00474, allocations: 0 / 0.6205 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.004843, allocations: 20.78 kB / 0.6205 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.004845, allocations: 4.062 kB / 0.6205 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001337/0.004979, allocations: 45.69 kB / 0.6206 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.004996, allocations: 7.984 kB / 0.6206 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005, allocations: 0 / 0.6206 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.005015, allocations: 0 / 0.6206 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.005086, allocations: 4 kB / 0.6206 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.005091, allocations: 0 / 0.6206 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.005129, allocations: 7.922 kB / 0.6206 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.005135, allocations: 3.938 kB / 0.6206 GB, free: 2.359 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 7.877e-05/0.005214, allocations: 118.8 kB / 0.6207 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.005223, allocations: 0 / 0.6207 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.005258, allocations: 6.953 kB / 0.6207 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.005259, allocations: 0 / 0.6207 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.005264, allocations: 0 / 0.6207 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005266, allocations: 0 / 0.6207 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.894e-05/0.005355, allocations: 101.3 kB / 0.6208 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005356, allocations: 0 / 0.6208 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.005401, allocations: 7.984 kB / 0.6208 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005402, allocations: 0 / 0.6208 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.005409, allocations: 4 kB / 0.6208 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.00541, allocations: 3.938 kB / 0.6208 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00541, allocations: 0 / 0.6208 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.005571, allocations: 69.06 kB / 0.6209 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.005582, allocations: 7.984 kB / 0.6209 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.005592, allocations: 0 / 0.6209 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.005625, allocations: 4 kB / 0.6209 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.005637, allocations: 3.938 kB / 0.6209 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.00564, allocations: 0 / 0.6209 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.005682, allocations: 79.31 kB / 0.621 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.005682, allocations: 0 / 0.621 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001756/0.005857, allocations: 4 kB / 0.621 GB, free: 1.898 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001061/0.005963, allocations: 95.19 kB / 0.6211 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.006123, allocations: 23.91 kB / 0.6211 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.006124, allocations: 0 / 0.6211 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.512e-05/0.006169, allocations: 4 kB / 0.6211 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.006303, allocations: 6.781 kB / 0.6211 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.006578, allocations: 84.86 kB / 0.6212 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.006625, allocations: 51.36 kB / 0.6212 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.006658, allocations: 7.984 kB / 0.6212 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.006685, allocations: 8.5 kB / 0.6212 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.006685, allocations: 4 kB / 0.6212 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of Templates: time 0.00255/0.009235, allocations: 224.7 kB / 0.6215 GB, free: 1.348 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.773527011275291] Failed to read output from testmodel.py, exit status != 0: 0.017915237694978714 0.032993364000000004 0.02748959 Calling exit ...