Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.001768/0.001768, allocations: 80.3 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.002003/0.002003, allocations: 163.1 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.524/1.524, allocations: 177.2 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.24/1.24, allocations: 154.5 MB / 413.7 MB, free: 5.297 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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.384e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003257/0.003291, allocations: 1.505 MB / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.005007, allocations: 0.6909 MB / 0.6207 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.005089, allocations: 4 kB / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.005125, allocations: 4.875 kB / 0.6207 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.005196, allocations: 3.938 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.005771, allocations: 99.58 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.005906, allocations: 43.8 kB / 0.6208 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.006026, allocations: 19.91 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.006196, allocations: 23.86 kB / 0.6209 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.006258, allocations: 11.98 kB / 0.6209 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.006275, allocations: 4 kB / 0.6209 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.006569, allocations: 107.9 kB / 0.621 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.006594, allocations: 15.91 kB / 0.621 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.006626, allocations: 8 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.006902, allocations: 115.7 kB / 0.6211 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006906, allocations: 0 / 0.6211 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006907, allocations: 0 / 0.6211 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.006914, allocations: 0 / 0.6211 GB, free: 1.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005288/0.007443, allocations: 294 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.007487, allocations: 13.47 kB / 0.6214 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.007649, allocations: 16.88 kB / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.007884, allocations: 121.7 kB / 0.6215 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.007915, allocations: 4.375 kB / 0.6215 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.007925, allocations: 8.312 kB / 0.6216 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.008098, allocations: 54.23 kB / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.008109, allocations: 192 / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.008124, allocations: 4.375 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.008132, allocations: 3.938 kB / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.008233, allocations: 27.98 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.008602, allocations: 220.4 kB / 0.6218 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.008705, allocations: 30.52 kB / 0.6219 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/0.008763, allocations: 32.84 kB / 0.6219 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.009014, allocations: 31.97 kB / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.009052, allocations: 38.56 kB / 0.622 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.009053, allocations: 0 / 0.622 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002692/0.009322, allocations: 61.61 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.009371, allocations: 51.41 kB / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.009484, allocations: 117.9 kB / 0.6222 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.009501, allocations: 29.7 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.009563, allocations: 96.08 kB / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.009581, allocations: 7.891 kB / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.009616, allocations: 13.72 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.00979, allocations: 318.8 kB / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.009835, allocations: 8 kB / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.009877, allocations: 11.98 kB / 0.6227 GB, free: 240 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.009966, allocations: 24.84 kB / 0.6227 GB, free: 212 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009968, allocations: 8.062 kB / 0.6227 GB, free: 204 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001422/0.01011, allocations: 57.56 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.01013, allocations: 4 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.01013, allocations: 0 / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.01015, allocations: 0 / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.01022, allocations: 7.984 kB / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.01023, allocations: 7.984 kB / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.01026, allocations: 0 / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.01027, allocations: 0 / 0.6228 GB, free: 120 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.0001247/0.0104, allocations: 118.9 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.01043, allocations: 7.891 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.01063, allocations: 73.19 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01063, allocations: 0 / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.01063, allocations: 0 / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01064, allocations: 0 / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.01079, allocations: 109.3 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.0108, allocations: 4 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.01085, allocations: 11.92 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01085, allocations: 4.031 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01086, allocations: 0 / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01086, allocations: 7.938 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01086, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.01106, allocations: 143.5 kB / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.01107, allocations: 15.89 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.01109, allocations: 0 / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.243e-05/0.01115, allocations: 4 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.01119, allocations: 0 / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.01119, allocations: 3.984 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.736e-05/0.01125, allocations: 99.56 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01125, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002565/0.01151, allocations: 15.94 kB / 0.6234 GB, free: 15.44 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.0002276/0.01173, allocations: 103.2 kB / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.01187, allocations: 23.98 kB / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01187, allocations: 0 / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.037e-05/0.01192, allocations: 15.98 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.01214, allocations: 4.125 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.0125, allocations: 136.7 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.953e-05/0.01257, allocations: 67.33 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.01259, allocations: 7.891 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.01262, allocations: 16.5 kB / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.01262, allocations: 0 / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Templates: time 0.003343/0.01596, allocations: 0.5291 MB / 0.6242 GB, free: 14.5 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.967620823532343] Failed to read output from testmodel.py, exit status != 0: 0.026463907212018967 0.042504814 0.031735865 Calling exit ...