Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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.001296/0.001296, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00144/0.00144, allocations: 222.2 kB / 23 MB, free: 4.91 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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.8445/0.8445, allocations: 134 MB / 447.2 MB, free: 9.973 MB / 350.1 MB " [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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions") [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.002035/0.002035, allocations: 74.7 kB / 0.6197 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1518, allocations: 85.91 MB / 0.7036 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002836/0.1547, allocations: 1.6 MB / 0.7052 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.156, allocations: 0.5658 MB / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.1561, allocations: 8 kB / 0.7057 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1562, allocations: 11.86 kB / 0.7057 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.1562, allocations: 11.81 kB / 0.7058 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1566, allocations: 63.86 kB / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1568, allocations: 91.69 kB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.157, allocations: 35.84 kB / 0.7059 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1571, allocations: 39.92 kB / 0.706 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.168e-05/0.1572, allocations: 39.77 kB / 0.706 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1572, allocations: 11.94 kB / 0.706 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.1573, allocations: 19.98 kB / 0.706 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.1574, allocations: 23.92 kB / 0.7061 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.1574, allocations: 31.8 kB / 0.7061 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.1576, allocations: 99.5 kB / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1576, allocations: 4 kB / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1576, allocations: 0 / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1576, allocations: 0 / 0.7062 GB, free: 13.91 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005619/0.1582, allocations: 341.8 kB / 0.7065 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1582, allocations: 12.03 kB / 0.7065 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.1585, allocations: 36.86 kB / 0.7066 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1587, allocations: 140.6 kB / 0.7067 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1588, allocations: 4.375 kB / 0.7067 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1588, allocations: 12.12 kB / 0.7067 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.159, allocations: 105.6 kB / 0.7068 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.159, allocations: 0 / 0.7068 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1591, allocations: 8 kB / 0.7068 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1591, allocations: 4 kB / 0.7068 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.1593, allocations: 98.31 kB / 0.7069 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.16, allocations: 312.2 kB / 0.7072 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.1601, allocations: 58.48 kB / 0.7073 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1602, allocations: 52.95 kB / 0.7073 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.1603, allocations: 4 kB / 0.7073 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1603, allocations: 30.56 kB / 0.7074 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.1603, allocations: 0 / 0.7074 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004715/0.1608, allocations: 169.7 kB / 0.7075 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1608, allocations: 55.34 kB / 0.7076 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.161, allocations: 138.8 kB / 0.7077 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.161, allocations: 29.7 kB / 0.7077 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.161, allocations: 108.2 kB / 0.7078 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.1611, allocations: 23.84 kB / 0.7079 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1611, allocations: 17.72 kB / 0.7079 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1613, allocations: 322.8 kB / 0.7082 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1614, allocations: 40.03 kB / 0.7082 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1615, allocations: 39.97 kB / 0.7083 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1617, allocations: 92.8 kB / 0.7083 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1617, allocations: 0 / 0.7083 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002796/0.162, allocations: 125.5 kB / 0.7085 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.162, allocations: 4 kB / 0.7085 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.162, allocations: 11.92 kB / 0.7085 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.162, allocations: 0 / 0.7085 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1621, allocations: 15.98 kB / 0.7085 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1622, allocations: 3.938 kB / 0.7085 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.1622, allocations: 11.98 kB / 0.7085 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1622, allocations: 4 kB / 0.7085 GB, free: 11.36 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 (6): * Single equations (assignments): 6 * 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.0001049/0.1623, allocations: 125.8 kB / 0.7086 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.1624, allocations: 7.953 kB / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.1627, allocations: 150.1 kB / 0.7088 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1627, allocations: 4 kB / 0.7088 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.1627, allocations: 0 / 0.7088 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1627, allocations: 0 / 0.7088 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.1629, allocations: 141.3 kB / 0.7089 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1629, allocations: 256 / 0.7089 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.163, allocations: 27.97 kB / 0.709 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.163, allocations: 0 / 0.709 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.163, allocations: 0 / 0.709 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.163, allocations: 7.875 kB / 0.709 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.163, allocations: 0 / 0.709 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1634, allocations: 227.4 kB / 0.7092 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.1634, allocations: 11.95 kB / 0.7092 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1634, allocations: 0 / 0.7092 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1635, allocations: 11.92 kB / 0.7092 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.1636, allocations: 15.97 kB / 0.7092 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.1636, allocations: 0 / 0.7092 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.672e-05/0.1637, allocations: 109 kB / 0.7093 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1637, allocations: 0 / 0.7093 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002378/0.1639, allocations: 15.95 kB / 0.7093 GB, free: 10.46 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 (6): * Single equations (assignments): 6 * 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.0001402/0.1641, allocations: 103.2 kB / 0.7094 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.1644, allocations: 103.9 kB / 0.7095 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1644, allocations: 4 kB / 0.7095 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1645, allocations: 43.97 kB / 0.7096 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.1647, allocations: 11.98 kB / 0.7096 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.1652, allocations: 249.2 kB / 0.7098 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.843e-05/0.1653, allocations: 96.12 kB / 0.7099 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.1653, allocations: 19.42 kB / 0.7099 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1653, allocations: 0 / 0.7099 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of Templates: time 0.002956/0.1683, allocations: 1.212 MB / 0.7111 GB, free: 8.57 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.504863630980253] Failed to read output from testmodel.py, exit status != 0: 0.17578481882810593 0.191151595 0.030466462000000003 Calling exit ...