Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04276/0.04276, allocations: 9.122 MB / 18.95 MB, free: 0.707 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.004111/0.04687, allocations: 3.415 MB / 22.37 MB, free: 3.789 MB / 24.77 MB " [Timeout remaining time 180] 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.0005497/0.0005497, allocations: 79.58 kB / 23.19 MB, free: 2.969 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008522/0.001402, allocations: 450.6 kB / 23.63 MB, free: 2.531 MB / 24.77 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.0006678/0.0006678, allocations: 152.8 kB / 24.52 MB, free: 1.652 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008996/0.001567, allocations: 479.4 kB / 24.99 MB, free: 1.18 MB / 24.77 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.8785/0.8785, allocations: 177.1 MB / 202.9 MB, free: 8.344 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.155/1.033, allocations: 53.66 MB / 256.5 MB, free: 5.367 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003661/0.003661, allocations: 0.8322 MB / 258.1 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.00477, allocations: 0.6551 MB / 258.8 MB, free: 3.273 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.725/1.725, allocations: 274.9 MB / 0.5219 GB, free: 1.148 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1335/1.859, allocations: 78.9 MB / 0.5989 GB, free: 2.27 MB / 0.573 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Round") translateModel(AixLib.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6003 GB, free: 0.875 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.968e-05, allocations: 2.312 kB / 0.6003 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.001112/0.001131, allocations: 0.666 MB / 0.601 GB, free: 220 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 9.982e-05/0.001231, allocations: 71.72 kB / 0.601 GB, free: 148 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.001244, allocations: 0 / 0.601 GB, free: 148 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 4.639e-06/0.001249, allocations: 0 / 0.601 GB, free: 148 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 1.543e-06/0.001251, allocations: 0 / 0.601 GB, free: 148 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.001355, allocations: 19.86 kB / 0.601 GB, free: 128 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.929e-05/0.001404, allocations: 11.98 kB / 0.6011 GB, free: 116 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.001444, allocations: 11.92 kB / 0.6011 GB, free: 104 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.001484, allocations: 4 kB / 0.6011 GB, free: 100 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.001532, allocations: 7.984 kB / 0.6011 GB, free: 92 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.001543, allocations: 4 kB / 0.6011 GB, free: 88 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.001629, allocations: 12 kB / 0.6011 GB, free: 76 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.669e-06/0.001638, allocations: 0 / 0.6011 GB, free: 76 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.001653, allocations: 7.938 kB / 0.6011 GB, free: 68 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 8.422e-05/0.001737, allocations: 15.97 kB / 0.6011 GB, free: 52 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.001751, allocations: 0 / 0.6011 GB, free: 52 kB / 0.573 GB Notification: Performance of FrontEnd: time 5.31e-07/0.001752, allocations: 0 / 0.6011 GB, free: 52 kB / 0.573 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.001763, allocations: 0 / 0.6011 GB, free: 52 kB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002952/0.002058, allocations: 232.7 kB / 0.6013 GB, free: 15.8 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.002088, allocations: 8.031 kB / 0.6013 GB, free: 15.79 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.00211, allocations: 4.938 kB / 0.6013 GB, free: 15.79 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.002e-05/0.00216, allocations: 109.7 kB / 0.6015 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.002168, allocations: 384 / 0.6015 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.002175, allocations: 4.375 kB / 0.6015 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.47e-05/0.00226, allocations: 70.52 kB / 0.6015 GB, free: 15.56 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.002266, allocations: 8.125 kB / 0.6015 GB, free: 15.55 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-06/0.002272, allocations: 384 / 0.6015 GB, free: 15.55 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.002276, allocations: 384 / 0.6015 GB, free: 15.55 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.24e-05/0.002299, allocations: 23.86 kB / 0.6016 GB, free: 15.53 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.207e-05/0.002381, allocations: 88.55 kB / 0.6016 GB, free: 15.41 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/0.002444, allocations: 97.09 kB / 0.6017 GB, free: 15.27 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.002471, allocations: 36.28 kB / 0.6018 GB, free: 15.22 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.002584, allocations: 4 kB / 0.6018 GB, free: 15.22 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.002606, allocations: 42.5 kB / 0.6018 GB, free: 15.17 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.002608, allocations: 0 / 0.6018 GB, free: 15.17 MB / 0.5887 GB Notification: Performance of matching and sorting (n=5): time 0.0001377/0.002746, allocations: 66.08 kB / 0.6019 GB, free: 15.1 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.002803, allocations: 154.2 kB / 0.602 GB, free: 14.91 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.78e-05/0.002831, allocations: 97.88 kB / 0.6021 GB, free: 14.8 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.002843, allocations: 33.7 kB / 0.6021 GB, free: 14.77 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 1.749e-05/0.00286, allocations: 80.14 kB / 0.6022 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.002894, allocations: 11.86 kB / 0.6022 GB, free: 14.67 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.002918, allocations: 21.7 kB / 0.6023 GB, free: 14.64 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.00299, allocations: 322.8 kB / 0.6026 GB, free: 14.32 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-06/0.002999, allocations: 0 / 0.6026 GB, free: 14.32 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.003023, allocations: 40.28 kB / 0.6026 GB, free: 14.27 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.003068, allocations: 48.17 kB / 0.6026 GB, free: 14.2 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.00307, allocations: 0 / 0.6026 GB, free: 14.2 MB / 0.5887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.526e-05/0.003125, allocations: 57.61 kB / 0.6027 GB, free: 14.14 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.003138, allocations: 4 kB / 0.6027 GB, free: 14.14 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.003142, allocations: 0 / 0.6027 GB, free: 14.14 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.003151, allocations: 4 kB / 0.6027 GB, free: 14.13 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.003212, allocations: 15.92 kB / 0.6027 GB, free: 14.12 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.003215, allocations: 4.156 kB / 0.6027 GB, free: 14.11 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.003232, allocations: 4 kB / 0.6027 GB, free: 14.11 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.003236, allocations: 0 / 0.6027 GB, free: 14.11 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 5.043e-05/0.003287, allocations: 121.7 kB / 0.6028 GB, free: 13.98 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.003294, allocations: 4 kB / 0.6029 GB, free: 13.98 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.003399, allocations: 80.64 kB / 0.6029 GB, free: 13.89 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.003401, allocations: 4.125 kB / 0.6029 GB, free: 13.88 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.003404, allocations: 4 kB / 0.6029 GB, free: 13.88 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.003408, allocations: 7.984 kB / 0.6029 GB, free: 13.87 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.876e-05/0.003477, allocations: 77.8 kB / 0.603 GB, free: 13.78 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.003479, allocations: 0 / 0.603 GB, free: 13.78 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.003515, allocations: 23.92 kB / 0.603 GB, free: 13.75 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-06/0.00352, allocations: 4 kB / 0.603 GB, free: 13.75 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.003521, allocations: 0 / 0.603 GB, free: 13.75 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.003526, allocations: 4 kB / 0.603 GB, free: 13.75 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.003527, allocations: 0 / 0.603 GB, free: 13.75 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.003529, allocations: 8.031 kB / 0.6031 GB, free: 13.74 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.191e-05/0.003611, allocations: 116.3 kB / 0.6032 GB, free: 13.59 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.003618, allocations: 0 / 0.6032 GB, free: 13.59 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.003633, allocations: 8 kB / 0.6032 GB, free: 13.59 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.003646, allocations: 7.984 kB / 0.6032 GB, free: 13.58 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.003649, allocations: 0 / 0.6032 GB, free: 13.58 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 6.171e-06/0.003655, allocations: 4.859 kB / 0.6032 GB, free: 13.57 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.003655, allocations: 0 / 0.6032 GB, free: 13.57 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001088/0.003764, allocations: 11.94 kB / 0.6032 GB, free: 13.56 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 9.101e-05/0.003855, allocations: 92.34 kB / 0.6033 GB, free: 13.46 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 6.428e-05/0.003919, allocations: 32.72 kB / 0.6033 GB, free: 13.43 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.003923, allocations: 4 kB / 0.6033 GB, free: 13.42 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.003941, allocations: 28.78 kB / 0.6033 GB, free: 13.39 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.456e-05/0.004005, allocations: 11.98 kB / 0.6034 GB, free: 13.38 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/0.004193, allocations: 152.5 kB / 0.6035 GB, free: 13.19 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.703e-05/0.00422, allocations: 59.34 kB / 0.6036 GB, free: 13.11 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.00425, allocations: 16.25 kB / 0.6036 GB, free: 13.1 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.004285, allocations: 55.36 kB / 0.6036 GB, free: 13.04 MB / 0.5887 GB Notification: Performance of SimCode: time 4.61e-07/0.004286, allocations: 0 / 0.6036 GB, free: 13.04 MB / 0.5887 GB Notification: Performance of Templates: time 0.001985/0.00627, allocations: 0.6518 MB / 0.6043 GB, free: 12.4 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Round.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.268497104756534]