Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001479/0.001479, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001246/0.001246, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.946/0.946, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7554/0.7554, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 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 179] 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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 480.4 MB, free: 6.371 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.211e-05, allocations: 9.859 kB / 480.4 MB, free: 6.363 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001751/0.001763, allocations: 1.647 MB / 482 MB, free: 4.742 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007284/0.002491, allocations: 0.5982 MB / 482.6 MB, free: 4.152 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.002533, allocations: 3.938 kB / 482.6 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.572e-05/0.002598, allocations: 17.06 kB / 482.6 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.002631, allocations: 18.81 kB / 482.6 MB, free: 4.121 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.002809, allocations: 56.41 kB / 482.7 MB, free: 4.066 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.785e-05/0.002907, allocations: 89.47 kB / 482.8 MB, free: 3.988 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.002989, allocations: 35.89 kB / 482.8 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.216e-05/0.003081, allocations: 59.83 kB / 482.9 MB, free: 3.895 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.003132, allocations: 32.42 kB / 482.9 MB, free: 3.863 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.003146, allocations: 9.531 kB / 482.9 MB, free: 3.855 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.466e-05/0.00319, allocations: 19.98 kB / 482.9 MB, free: 3.836 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.003214, allocations: 15.92 kB / 483 MB, free: 3.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.003237, allocations: 27.92 kB / 483 MB, free: 3.793 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.476e-05/0.003332, allocations: 84.27 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-06/0.003333, allocations: 0 / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.7e-07/0.003334, allocations: 1.188 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.485e-06/0.003336, allocations: 0 / 483.1 MB, free: 3.711 MB / 442.7 MB 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.0002482/0.003584, allocations: 309.5 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.197e-05/0.003606, allocations: 8.031 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.003735, allocations: 38.19 kB / 483.4 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.003855, allocations: 146.9 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.003865, allocations: 5.312 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.003875, allocations: 4.375 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.003985, allocations: 91.17 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.003991, allocations: 3.938 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-06/0.003997, allocations: 0 / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.004001, allocations: 2.25 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.004032, allocations: 20.78 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.004277, allocations: 234.8 kB / 483.9 MB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.004322, allocations: 74.47 kB / 484 MB, free: 2.723 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.004341, allocations: 12.86 kB / 484 MB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.00436, allocations: 0.625 kB / 484 MB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.004376, allocations: 34.56 kB / 484 MB, free: 2.664 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 7.02e-07/0.004377, allocations: 0.8438 kB / 484 MB, free: 2.664 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.000102/0.004479, allocations: 69.73 kB / 484.1 MB, free: 2.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.004502, allocations: 54.16 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.004607, allocations: 141.3 kB / 484.3 MB, free: 2.379 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.004616, allocations: 25.7 kB / 484.3 MB, free: 2.348 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.004647, allocations: 104.1 kB / 484.4 MB, free: 2.242 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.004666, allocations: 19.92 kB / 484.4 MB, free: 2.223 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.004692, allocations: 21.72 kB / 484.5 MB, free: 2.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.004759, allocations: 322.8 kB / 484.8 MB, free: 1.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.004779, allocations: 15.59 kB / 484.8 MB, free: 1.855 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.004791, allocations: 4 kB / 484.8 MB, free: 1.852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.00483, allocations: 35.36 kB / 484.8 MB, free: 1.812 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.004831, allocations: 0 / 484.8 MB, free: 1.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.575e-05/0.004887, allocations: 62.67 kB / 484.9 MB, free: 1.746 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.004896, allocations: 4 kB / 484.9 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.004898, allocations: 0 / 484.9 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.004905, allocations: 0.625 kB / 484.9 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.348e-05/0.004958, allocations: 15.98 kB / 484.9 MB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.004961, allocations: 0.625 kB / 484.9 MB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.004985, allocations: 12.52 kB / 484.9 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.004997, allocations: 4 kB / 484.9 MB, free: 1.711 MB / 442.7 MB 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 4.828e-05/0.005045, allocations: 117.3 kB / 485 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.00506, allocations: 4.625 kB / 485 MB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/0.005151, allocations: 75 kB / 485.1 MB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005153, allocations: 4 kB / 485.1 MB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.005155, allocations: 1.219 kB / 485.1 MB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005157, allocations: 0 / 485.1 MB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.005318, allocations: 90.28 kB / 485.2 MB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.005319, allocations: 5.484 kB / 485.2 MB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.005354, allocations: 16 kB / 485.2 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.005357, allocations: 4.641 kB / 485.2 MB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.005362, allocations: 7.938 kB / 485.2 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005363, allocations: 0.9062 kB / 485.2 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.005364, allocations: 0 / 485.2 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.93e-05/0.005453, allocations: 206.1 kB / 485.4 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-06/0.005461, allocations: 8.641 kB / 485.5 MB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.005469, allocations: 0.625 kB / 485.5 MB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.005508, allocations: 8 kB / 485.5 MB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.00553, allocations: 5.234 kB / 485.5 MB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.005538, allocations: 8.875 kB / 485.5 MB, free: 1.117 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.264e-05/0.00556, allocations: 31.45 kB / 485.5 MB, free: 1.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00556, allocations: 4.531 kB / 485.5 MB, free: 1.082 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001275/0.005688, allocations: 15.94 kB / 485.5 MB, free: 1.066 MB / 442.7 MB 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 7.066e-05/0.005758, allocations: 77.48 kB / 485.6 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.281e-05/0.005821, allocations: 38.47 kB / 485.6 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005823, allocations: 0 / 485.6 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.005846, allocations: 20.84 kB / 485.7 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.226e-05/0.005938, allocations: 11.94 kB / 485.7 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.006295, allocations: 209 kB / 485.9 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.006331, allocations: 69.11 kB / 485.9 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.353e-05/0.006355, allocations: 11.44 kB / 486 MB, free: 0.582 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.006391, allocations: 59.36 kB / 486 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/0.006392, allocations: 0 / 486 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of Templates: time 0.002041/0.008433, allocations: 0.6907 MB / 486.7 MB, free: 15.88 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.445739238988608]