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.001271/0.001271, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001291/0.001291, allocations: 159.5 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.386/1.386, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.7919/0.7919, allocations: 101.3 MB / 361.1 MB, free: 9.547 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.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.00208/0.00208, allocations: 67.2 kB / 0.5356 GB, free: 5.223 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.141/0.143, allocations: 85.88 MB / 0.6195 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002789/0.1458, allocations: 1.594 MB / 0.6211 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1469, allocations: 0.5736 MB / 0.6216 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.1469, allocations: 3.938 kB / 0.6216 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.757e-05/0.147, allocations: 11.88 kB / 0.6216 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.1471, allocations: 11.86 kB / 0.6216 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1473, allocations: 63.86 kB / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1475, allocations: 91.64 kB / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1476, allocations: 39.91 kB / 0.6218 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1477, allocations: 43.84 kB / 0.6219 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.1478, allocations: 39.77 kB / 0.6219 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1478, allocations: 4 kB / 0.6219 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.567e-05/0.1479, allocations: 16 kB / 0.6219 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.148, allocations: 23.92 kB / 0.6219 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.148, allocations: 31.8 kB / 0.622 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1482, allocations: 95.56 kB / 0.6221 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1482, allocations: 7.984 kB / 0.6221 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1482, allocations: 0 / 0.6221 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1482, allocations: 0 / 0.6221 GB, free: 14.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.0005435/0.1487, allocations: 341.7 kB / 0.6224 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1488, allocations: 12.03 kB / 0.6224 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.1491, allocations: 40.84 kB / 0.6225 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1493, allocations: 146.9 kB / 0.6226 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1493, allocations: 4.312 kB / 0.6226 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1493, allocations: 24.05 kB / 0.6226 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.1496, allocations: 100 kB / 0.6227 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1496, allocations: 0 / 0.6227 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1496, allocations: 4 kB / 0.6227 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1496, allocations: 4 kB / 0.6227 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.1498, allocations: 91.92 kB / 0.6228 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.1504, allocations: 320.2 kB / 0.6231 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1506, allocations: 54.55 kB / 0.6232 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1507, allocations: 48.95 kB / 0.6232 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.1507, allocations: 7.984 kB / 0.6232 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1508, allocations: 34.5 kB / 0.6233 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1508, allocations: 0 / 0.6233 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.000494/0.1513, allocations: 165.6 kB / 0.6234 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1513, allocations: 55.34 kB / 0.6235 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1514, allocations: 139.7 kB / 0.6236 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1515, allocations: 25.7 kB / 0.6236 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.1515, allocations: 112.2 kB / 0.6237 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1516, allocations: 15.86 kB / 0.6237 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.1516, allocations: 29.64 kB / 0.6238 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1517, allocations: 314.8 kB / 0.6241 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1519, allocations: 43.97 kB / 0.6241 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.152, allocations: 39.97 kB / 0.6242 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.1522, allocations: 92.73 kB / 0.6242 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1522, allocations: 0 / 0.6242 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002942/0.1525, allocations: 125.6 kB / 0.6244 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1525, allocations: 10.5 kB / 0.6244 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.1525, allocations: 3.938 kB / 0.6244 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1526, allocations: 0 / 0.6244 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1527, allocations: 20.42 kB / 0.6244 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1527, allocations: 0 / 0.6244 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.1528, allocations: 7.984 kB / 0.6244 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.1528, allocations: 12 kB / 0.6244 GB, free: 12.34 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 9.902e-05/0.1529, allocations: 125.7 kB / 0.6245 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1529, allocations: 7.953 kB / 0.6245 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.1533, allocations: 150.3 kB / 0.6247 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1533, allocations: 0 / 0.6247 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1533, allocations: 0 / 0.6247 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1533, allocations: 0 / 0.6247 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1535, allocations: 145.3 kB / 0.6248 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1535, allocations: 0 / 0.6248 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1536, allocations: 15.98 kB / 0.6248 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1536, allocations: 0 / 0.6248 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1536, allocations: 15.88 kB / 0.6249 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1536, allocations: 3.938 kB / 0.6249 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1536, allocations: 0 / 0.6249 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.154, allocations: 223.4 kB / 0.6251 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.154, allocations: 3.953 kB / 0.6251 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.154, allocations: 4 kB / 0.6251 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1541, allocations: 11.92 kB / 0.6251 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.1541, allocations: 11.98 kB / 0.6251 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1542, allocations: 0 / 0.6251 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.053e-05/0.1542, allocations: 112 kB / 0.6252 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1542, allocations: 0 / 0.6252 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002578/0.1545, allocations: 19.95 kB / 0.6252 GB, free: 11.45 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.0001397/0.1546, allocations: 111 kB / 0.6253 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.1549, allocations: 95.92 kB / 0.6254 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1549, allocations: 0 / 0.6254 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1551, allocations: 52.22 kB / 0.6255 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1553, allocations: 4 kB / 0.6255 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.1557, allocations: 235.6 kB / 0.6257 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.739e-05/0.1558, allocations: 84.31 kB / 0.6258 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.328e-05/0.1559, allocations: 23.72 kB / 0.6258 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.1559, allocations: 20.5 kB / 0.6258 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1559, allocations: 0 / 0.6258 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of Templates: time 0.003296/0.1592, allocations: 0.6771 MB / 0.6265 GB, free: 10.11 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.048091395990923] Failed to read output from testmodel.py, exit status != 0: 0.1665115379728377 0.18178563099999995 0.030531333 Calling exit ...