Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.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.001431/0.001431, allocations: 80.41 kB / 19.18 MB, free: 2.379 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.001556/0.001556, allocations: 170.9 kB / 22.46 MB, free: 4.996 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.2/1.2, allocations: 154.5 MB / 413.7 MB, free: 5.285 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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.6185 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.118e-05, allocations: 4.812 kB / 0.6185 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002773/0.002805, allocations: 1.463 MB / 0.6199 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.004228, allocations: 0.7594 MB / 0.6207 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.004271, allocations: 0 / 0.6207 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.004296, allocations: 3.938 kB / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.004343, allocations: 11.94 kB / 0.6207 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.00487, allocations: 131.1 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.004946, allocations: 35.92 kB / 0.6209 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.502e-05/0.005021, allocations: 4 kB / 0.6209 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.005073, allocations: 23.98 kB / 0.6209 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.00513, allocations: 15.91 kB / 0.6209 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.005149, allocations: 7.938 kB / 0.6209 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.005564, allocations: 247.5 kB / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.005582, allocations: 7.938 kB / 0.6212 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.005612, allocations: 15.97 kB / 0.6212 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.005961, allocations: 207.4 kB / 0.6214 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.005965, allocations: 0 / 0.6214 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005967, allocations: 0 / 0.6214 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.005971, allocations: 0 / 0.6214 GB, free: 1.758 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.0005602/0.006531, allocations: 301.9 kB / 0.6217 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.006565, allocations: 9.469 kB / 0.6217 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.007052, allocations: 76.8 kB / 0.6217 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.007171, allocations: 105.8 kB / 0.6218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.007194, allocations: 384 / 0.6218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.007204, allocations: 384 / 0.6218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.007522, allocations: 86.12 kB / 0.6219 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.007533, allocations: 8.188 kB / 0.6219 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.007545, allocations: 4.375 kB / 0.6219 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.00755, allocations: 3.938 kB / 0.6219 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.008002, allocations: 95.83 kB / 0.622 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.008512, allocations: 228.6 kB / 0.6222 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.008914, allocations: 94.48 kB / 0.6223 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.009138, allocations: 56.88 kB / 0.6224 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.009153, allocations: 3.938 kB / 0.6224 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.00918, allocations: 34.5 kB / 0.6224 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.009181, allocations: 3.938 kB / 0.6224 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0007827/0.009964, allocations: 169.6 kB / 0.6226 GB, free: 396 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.01001, allocations: 55.41 kB / 0.6226 GB, free: 328 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.0101, allocations: 101.8 kB / 0.6227 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.01012, allocations: 25.7 kB / 0.6228 GB, free: 184 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.01017, allocations: 84.14 kB / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.01019, allocations: 7.953 kB / 0.6229 GB, free: 88 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.01023, allocations: 9.719 kB / 0.6229 GB, free: 72 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.0104, allocations: 326.8 kB / 0.6232 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.01062, allocations: 43.98 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.01084, allocations: 43.95 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.01125, allocations: 92.77 kB / 0.6234 GB, free: 15.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01126, allocations: 4 kB / 0.6234 GB, free: 15.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004886/0.01174, allocations: 125.6 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.01176, allocations: 10.44 kB / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.01177, allocations: 0 / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01178, allocations: 0 / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.01195, allocations: 23.97 kB / 0.6235 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.01195, allocations: 0 / 0.6235 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.01207, allocations: 16.02 kB / 0.6235 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01208, allocations: 4 kB / 0.6235 GB, free: 15.38 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: 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 8.711e-05/0.01217, allocations: 110.8 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.01221, allocations: 11.89 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.01224, allocations: 15.2 kB / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01224, allocations: 0 / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01224, allocations: 0 / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01224, allocations: 0 / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.0124, allocations: 117.2 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.0124, allocations: 0 / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.01255, allocations: 27.97 kB / 0.6238 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01255, allocations: 0 / 0.6238 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01256, allocations: 3.938 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01256, allocations: 256 / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01256, allocations: 0 / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.0131, allocations: 219.5 kB / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.01311, allocations: 7.938 kB / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01312, allocations: 3.938 kB / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.01329, allocations: 24 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.01333, allocations: 4 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.01334, allocations: 3.984 kB / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.01339, allocations: 83.22 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01339, allocations: 0 / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002412/0.01363, allocations: 12 kB / 0.6241 GB, free: 14.69 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.0001722/0.0138, allocations: 115.1 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.01429, allocations: 91.91 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01429, allocations: 4.062 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.01452, allocations: 43.95 kB / 0.6244 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.01481, allocations: 11.98 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.01539, allocations: 168.7 kB / 0.6246 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.188e-05/0.01545, allocations: 55.36 kB / 0.6246 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.539e-05/0.01551, allocations: 15.98 kB / 0.6246 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.01555, allocations: 12.44 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.01555, allocations: 4 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of Templates: time 0.003448/0.019, allocations: 0.8698 MB / 0.6255 GB, free: 13.27 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.962865974754095] Failed to read output from testmodel.py, exit status != 0: 0.028055299073457718 0.042889596 0.033848367000000004 Calling exit ...