Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001718/0.001718, allocations: 81.86 kB / 19.76 MB, free: 2.027 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.001437/0.001437, allocations: 159.7 kB / 23.01 MB, free: 4.961 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.395/1.395, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8033/0.8033, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 70.05 kB / 0.5356 GB, free: 5.219 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1424, allocations: 85.87 MB / 0.6195 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.00267/0.1451, allocations: 1.517 MB / 0.621 GB, free: 64 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1463, allocations: 0.6786 MB / 0.6216 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.1463, allocations: 0 / 0.6216 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.1464, allocations: 7.938 kB / 0.6216 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.1464, allocations: 15.86 kB / 0.6217 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1468, allocations: 83.72 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.869e-05/0.1469, allocations: 39.86 kB / 0.6218 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.009e-05/0.147, allocations: 23.84 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.147, allocations: 15.94 kB / 0.6218 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.1471, allocations: 23.86 kB / 0.6218 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.1471, allocations: 0 / 0.6218 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.1473, allocations: 107.9 kB / 0.6219 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.1473, allocations: 11.98 kB / 0.622 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.1474, allocations: 19.88 kB / 0.622 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1475, allocations: 87.77 kB / 0.6221 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1475, allocations: 3.984 kB / 0.6221 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1475, allocations: 0 / 0.6221 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.1476, allocations: 0 / 0.6221 GB, free: 14.94 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.0004212/0.148, allocations: 296.7 kB / 0.6223 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.148, allocations: 8.031 kB / 0.6224 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.1481, allocations: 20.81 kB / 0.6224 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1483, allocations: 126.4 kB / 0.6225 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1483, allocations: 4.375 kB / 0.6225 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1483, allocations: 4.375 kB / 0.6225 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1485, allocations: 57.98 kB / 0.6226 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1485, allocations: 0 / 0.6226 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1485, allocations: 0 / 0.6226 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1485, allocations: 0 / 0.6226 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.167e-05/0.1486, allocations: 23.98 kB / 0.6226 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.1489, allocations: 224.4 kB / 0.6228 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.204e-05/0.149, allocations: 30.58 kB / 0.6228 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.149, allocations: 16.91 kB / 0.6228 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.1492, allocations: 35.97 kB / 0.6229 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1493, allocations: 34.5 kB / 0.6229 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1493, allocations: 0 / 0.6229 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002338/0.1495, allocations: 69.62 kB / 0.623 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1495, allocations: 55.53 kB / 0.623 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.1496, allocations: 113.8 kB / 0.6231 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1497, allocations: 25.7 kB / 0.6232 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1497, allocations: 92.08 kB / 0.6232 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.1497, allocations: 7.953 kB / 0.6233 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1498, allocations: 13.72 kB / 0.6233 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.1499, allocations: 318.8 kB / 0.6236 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.15, allocations: 11.98 kB / 0.6236 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.15, allocations: 11.94 kB / 0.6236 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.309e-05/0.1501, allocations: 28.91 kB / 0.6236 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1501, allocations: 0 / 0.6236 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001254/0.1502, allocations: 53.67 kB / 0.6237 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1502, allocations: 8 kB / 0.6237 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1502, allocations: 0 / 0.6237 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1502, allocations: 0 / 0.6237 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.885e-05/0.1503, allocations: 4 kB / 0.6237 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1503, allocations: 0 / 0.6237 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.1503, allocations: 11.92 kB / 0.6237 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.1503, allocations: 8.031 kB / 0.6237 GB, free: 13.09 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 (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.771e-05/0.1504, allocations: 114.8 kB / 0.6238 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1505, allocations: 11.89 kB / 0.6238 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.1506, allocations: 61.3 kB / 0.6239 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1506, allocations: 0 / 0.6239 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1506, allocations: 0 / 0.6239 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1506, allocations: 0 / 0.6239 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.1508, allocations: 113.2 kB / 0.624 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1508, allocations: 0 / 0.624 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.1508, allocations: 20.02 kB / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1508, allocations: 0 / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1508, allocations: 0 / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1508, allocations: 0 / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1508, allocations: 0 / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.151, allocations: 155.4 kB / 0.6242 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.151, allocations: 7.938 kB / 0.6242 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.151, allocations: 0 / 0.6242 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.1511, allocations: 4 kB / 0.6242 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.1511, allocations: 4.016 kB / 0.6242 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1511, allocations: 4 kB / 0.6242 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.1512, allocations: 95.58 kB / 0.6243 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1512, allocations: 0 / 0.6243 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002372/0.1514, allocations: 16 kB / 0.6243 GB, free: 12.43 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 (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.0001473/0.1516, allocations: 107.2 kB / 0.6244 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1517, allocations: 27.92 kB / 0.6244 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1517, allocations: 0 / 0.6244 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.1517, allocations: 16.05 kB / 0.6244 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.152, allocations: 7.938 kB / 0.6244 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.1522, allocations: 138.8 kB / 0.6246 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.243e-05/0.1523, allocations: 67.34 kB / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.1523, allocations: 0 / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.1523, allocations: 16.48 kB / 0.6246 GB, free: 12 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1523, allocations: 0 / 0.6246 GB, free: 12 MB / 0.5294 GB Notification: Performance of Templates: time 0.002695/0.155, allocations: 0.5091 MB / 0.6251 GB, free: 11.5 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9439729519654065] Failed to read output from testmodel.py, exit status != 0: 0.16247327206656337 0.17730655199999995 0.026764009000000002 Calling exit ...