Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.001307/0.001307, allocations: 78.88 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.001463/0.001463, allocations: 169.9 kB / 22.46 MB, free: 5.355 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.255/1.255, 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.022e-05, allocations: 5.562 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.00337/0.0034, allocations: 1.455 MB / 0.6199 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.004275, allocations: 354.8 kB / 0.6203 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.004329, allocations: 7.938 kB / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.00437, allocations: 7.922 kB / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.00442, allocations: 0 / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.00505, allocations: 111.6 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.005154, allocations: 35.84 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.005281, allocations: 7.938 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.005356, allocations: 11.98 kB / 0.6205 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.005403, allocations: 12 kB / 0.6205 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.005421, allocations: 0 / 0.6205 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004936/0.005915, allocations: 255.6 kB / 0.6207 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.005943, allocations: 11.98 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.005972, allocations: 7.938 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.006294, allocations: 135.6 kB / 0.6209 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.006297, allocations: 0 / 0.6209 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006298, allocations: 0 / 0.6209 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.006309, allocations: 0 / 0.6209 GB, free: 2.273 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006116/0.00692, allocations: 290 kB / 0.6211 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.006971, allocations: 17.47 kB / 0.6212 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.007037, allocations: 4.938 kB / 0.6212 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.007192, allocations: 113.7 kB / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.007206, allocations: 384 / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.007223, allocations: 4.375 kB / 0.6213 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.00742, allocations: 50.17 kB / 0.6213 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.007432, allocations: 4.188 kB / 0.6213 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.007443, allocations: 4.375 kB / 0.6213 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.007448, allocations: 384 / 0.6213 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.007637, allocations: 43.89 kB / 0.6214 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.008001, allocations: 200.5 kB / 0.6216 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.008162, allocations: 38.55 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.008295, allocations: 20.91 kB / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008351/0.00913, allocations: 75.92 kB / 0.6217 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.009176, allocations: 38.55 kB / 0.6217 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.009178, allocations: 0 / 0.6217 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0005506/0.009728, allocations: 85.53 kB / 0.6218 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.009773, allocations: 55.53 kB / 0.6219 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.009942, allocations: 105.8 kB / 0.622 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.009965, allocations: 25.7 kB / 0.622 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.01003, allocations: 84.14 kB / 0.6221 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.01008, allocations: 11.94 kB / 0.6221 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.01013, allocations: 9.719 kB / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.01029, allocations: 318.8 kB / 0.6224 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.01037, allocations: 11.98 kB / 0.6224 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-05/0.01046, allocations: 19.97 kB / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.01062, allocations: 40.89 kB / 0.6225 GB, free: 476 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01062, allocations: 0 / 0.6225 GB, free: 476 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002453/0.01087, allocations: 73.58 kB / 0.6225 GB, free: 396 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.01089, allocations: 8 kB / 0.6225 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.0109, allocations: 7.922 kB / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01092, allocations: 0 / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.957e-05/0.01101, allocations: 12.03 kB / 0.6226 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.01102, allocations: 7.984 kB / 0.6226 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.01107, allocations: 7.953 kB / 0.6226 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.01108, allocations: 0 / 0.6226 GB, free: 352 kB / 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 (2): * Single equations (assignments): 2 * 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 0.0001018/0.01118, allocations: 106.8 kB / 0.6227 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.01124, allocations: 4 kB / 0.6227 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.01153, allocations: 89.09 kB / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01153, allocations: 7.969 kB / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01154, allocations: 0 / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01154, allocations: 256 / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.01173, allocations: 105.3 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01174, allocations: 4 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.0118, allocations: 8 kB / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.0118, allocations: 0 / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.01181, allocations: 0 / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.01182, allocations: 7.922 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01182, allocations: 0 / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.01213, allocations: 163.5 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.01214, allocations: 7.938 kB / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.01215, allocations: 0 / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.01225, allocations: 11.88 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.0123, allocations: 11.92 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.01231, allocations: 0 / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.01237, allocations: 83.28 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01237, allocations: 0 / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002644/0.01264, allocations: 15.94 kB / 0.6232 GB, free: 15.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002202/0.01286, allocations: 115.2 kB / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.0131, allocations: 35.97 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0131, allocations: 0 / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.0132, allocations: 23.97 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.01355, allocations: 0 / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.01394, allocations: 120.8 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.575e-05/0.01402, allocations: 63.34 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.01404, allocations: 0 / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.01408, allocations: 16.5 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.01408, allocations: 0 / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of Templates: time 0.004182/0.01826, allocations: 0.743 MB / 0.6243 GB, free: 14.5 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9169470481574535] Failed to read output from testmodel.py, exit status != 0: 0.028523672372102737 0.050231807 0.039596649000000005 Calling exit ...